The parent window had a 120Kb jpeg picture on it.  I used more
compression on the jpeg and got it down to 32Kb, and bingo, the parent
window stopped disappearing!  Yay me!

On Aug 6, 10:39 am, CraigsRace <[email protected]> wrote:
> Hi,
>
> I wanted to change the frame around my Dialog.  So I set up a style:
> <resources>
>     <style name="SpecialDialog" parent="android:Theme.Dialog">
>         <item name="android:windowBackground">@drawable/my_frame</
> item>
>     </style>
> </resources>
>
> and assigned it in the manifest:
>         <activity android:name=".MyActivity" android:theme="@style/
> SpecialDialog">
>
> And yay! I get my new frame.  However, the parent window disappears
> (goes black).
>
> Having a normal dialog:
> <activity android:name=".MyActivity" android:theme="@android:style/
> Theme.Dialog">
> keeps the parent window visible.
>
> Can I have a custom frame on a dialog and keep the parent window
> visible?
>
> 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