Hi 'stackoverflow' I've been trying to develop an android application which should remain on top of any other activity like a transparent one and also we should be able to touch and work with other activities, but our activity should stay on top of all other activities for ever until user explicitly kills our activity.
I made my activity transparent using the following code under my
'res/layout/styles.xml'
<style name="Theme.Transparent" parent="android:Theme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
and in my
'manifest' I used
<activity
android:name="com.example.transperentdroid.MainActivity"
android:theme="@style/Theme.Transparent" >
........
</activity>
please help me to solve this riddle. Thanks in advance.