I have tried to replicate the Transparency/Translucency effects
created in the API Demo(which works flawlessly) and the code i wrote
works on the emulator but not on my actual device(Google ION)

I copied the styles and colors.xml files from the API demos code and
set the theme of my activity I want to be transparent to "@style/
Theme.Transparent" in my activity i set my content view to a layout
which contains only a TextView containing :
<TextView xmlns:android="http://schemas.android.com/apk/res/android";
android:id="@+id/text"
    android:layout_width="fill_parent"
android:layout_height="fill_parent"
    android:gravity="center_vertical|center_horizontal"
    android:text="should have transparent background"
/>
 i have also tried setting the theme using: setTheme
(R.style.Theme_Transparent);

but nothing I try seems to work on the device, Any thoughts? is there
something I am missing?

Thanks

--~--~---------~--~----~------------~-------~--~----~
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