Hi,

I am trying to move a window by changing its attributes when ever a
key is pressed.

The code i am using is
WindowManager.LayoutParams lp = getAttributes();
lp.x+=10;
setAttributes(lp);


for key right event.

This is working.but the left key event where i am using lp.x-=10 is
not working.

I am using this code in OnKeyDown() in PhoneWindow.java.

Can anyone help me out?

Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to