android - Adding View to Window Manager And Activity animation -
i have added button inside window. want open activity animating left when user taps on button.
problem: first time when change activity , taps sliding animation dont works second time while on screen works fine.
here code.
if (basketflagview == null) { windowmanager = (windowmanager) activity.getapplicationcontext().getsystemservice(service.window_service); basketflagview = new basketflagview(activity); windowmanager.layoutparams params = getbuttonparams(activity); windowmanager.addview(basketflagview, params); }
Comments
Post a Comment