hi,

I don't know how to make it transparent/translucent background???
I try the same code as in ApiDemo it working inside the demo... then I
copy as similar as ApiDemo...
but it does not working in my project... did I miss out something???
it only show black background, but I wants it to be transparent...
how???

//Manifest
    <activity android:name=".text.FManager" android:label="Text/
LogTextBox" android:theme="@style/Theme.Translucent">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.SAMPLE_CODE" />
            </intent-filter>
        </activity>


//style.xml

    <style name="Theme.Translucent" parent="android:style/
Theme.Translucent">
        <item name="android:windowBackground">@drawable/
translucent_background</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:colorForeground">#fff</item>
    </style>


    <style name="Theme.Transparent">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@android:style/
Animation.Translucent</item>
        <item name="android:windowBackground">@drawable/
transparent_background</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:colorForeground">#fff</item>
    </style>


//color.xml

        <drawable name="screen_background_black">#ff000000</drawable>
    <drawable name="translucent_background">#00000000</drawable>
    <drawable name="transparent_background">#00000000</drawable>

can anyone point out what I miss out???



Wesley.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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