pingpongboss / StandOut

StandOut lets you easily create floating windows in your Android app.
http://pingpongboss.github.com/StandOut
MIT License
1.24k stars 379 forks source link

Move window #11

Closed MobileMon closed 11 years ago

MobileMon commented 12 years ago

If I touch the screen outside of where the window is positioned, is there any way to move the window there?

pingpongboss commented 12 years ago

One thing you can try is implement onMove(...) and watch for event.getAction() == MotionEvent.ACTION_OUTSIDE. You will receive one ACTION_OUTSIDE event when the user first touches outside. And then use the Editor to move the window.