The easiest way I've found is to just do a normal activity and float it with 
a transparent background.

<style name="Theme.Transparent" 
parent="android:Theme.NoTitleBar.Fullscreen">
   <item name="android:windowBackground">@drawable/bg</item>
   <item name="android:windowIsFloating">true</item>
   <item name="android:backgroundDimEnabled">false</item>
</style>

<activity android:name=".Activity" android:label="@string/app_name" 
android:configChanges="orientation|keyboardHidden"
   android:theme="@style/Theme.Transparent" 
android:launchMode="singleInstance"></activity>

And just do a normal activity. I usually go for the simplest solution, it's 
easier to maintain.

Steven
Studio LFP
http://www.studio-lfp.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to