While changing the color of the panel, did you set the alpha value to
FF? 0 gives you full transparency and FF gives you total opacity.

Hope this helps.
Ivar

On Mar 11, 8:37 pm, Mark Wyszomierski <[email protected]> wrote:
> Hi,
>
> I'm trying to supply my own background drawable for a dialog. It works
> fine on 1.6+, on 1.5 though instead of a transparent dimmed background
> around the dialog, I just get opaque black. I defined the style like
> this in my styles.xml file:
>
>    <style name="CustomDlg" parent="@android:style/Theme.Dialog">
>      <item name="android:windowBackground">@drawable/my_background</
> item>
>    </style>
>
> Is there something else we need to do so that we can still get the
> transparency around the dialog? The drawable is nothing special, I
> just took the stock one from the aop and changed the color on the
> inside of the frame.
>
> 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