Hi,

Is there a possibility to move a window without moving internally?

Like, I have reduced the size of the Browser application 's window so
that it occupies one-fourth of the dimensions in the screen.

I have also written a code for the movement keys.

In the onKeyDown() of phone window,the code which i have written is


case KEYCODE_DPAD_RIGHT:
          WindowManager.LayoutParams lp =    getAttributes();
           lp.y+=10;
         setAttributes(lp);
           break;

What I see is the window is moved first internally that is the scroll
bar at the bottom is moved and then only the window moves right...

How can I move the window without moving it internally?

Also,i can observe that the left movement key has no effect.

Please help me out in this.

thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to