Simple example of floating MAIN activity.
Main files:
* test\test\src\main\java\com\dm\test\DialogActivity.java
* test\test\src\main\res\layout\floating.xml
* test\test\src\main\AndroidManifest.xml