I am trying to create a overlay activity which is sitting in a corner of the screen taking a very small portion of the screen, while the rest of the screen is interactive that is I tap on anything that is displaying on rest of the screen. So far I am unsuccessful in obtaining my goal. I have added these properties to my window but they don't seem to work.
hello.xml:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="50dp"
android:layout_height="match_parent"
android:orientation="vertical"
android:id="@+id/tepp" >
</RelativeLayout>
What can I do to solve this problem?
From what I can remember, only one
Activitycan be active at any given time. So while that smallActivityin the corner is running, the other activitys will be paused and you wont be able to interact with them. You should try using a Fragment instead. You can have multiple fragments visible at the same time. Although I believe that only oneFragmentcan be active at any given time like anActivity, when you click on different fragments, the one you click on becomes active and you can interact with it. This might help you achieve what your looking for.