1. Use <ALT>-<TAB> to cycle throught the application, or select it in the toolbar
2. Press <ALT>-<SPACE> to open the move menu
3. Use ‘M’ to move it
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
to disable keep screen on:
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);