Android WindowManager.updateViewLayout behaving weird -


this part of code in view:

params.width = myactivity.getwidth(); params.focused.height = myactivity.getheight();  wm.updateviewlayout(this, windowlayoutparams.focused); 

i'm trying re-size window touch messages.

when call updateviewlayout() translates coords (0,0) , resizes it. problem can see happening. flickers. how update view without happening? (i have tried handler , doesn't work)


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -