So I've been digging deeper into this, and its most likely related to
a warning that you'll see in logcat:

ResourceType  W  Entry identifier 0x2 is larger than entry count 0x2

Which is when HistoryRecord over in the framework is trying to read
the theme defined in your resources.  There isn't anything wrong with
the code we've been using.  In fact, if you fiddle around with the
ordering in your styles.xml, usually adding a few empty <style
name="stub" /> blocks near the top, might help get around this
temporarily.

j


On Apr 2, 1:33 am, Jeffrey Sharkey <[email protected]> wrote:
> Yea, I'm seeing the same thing.  It looks like touching the style
> locally puts a black background behind that window.
>
> I confirmed this by defining android:windowBackground to red with 50%
> alpha, and it shows through to a solid black background.
>
> j
>
> On Feb 16, 11:45 pm, Adrien Guichard <[email protected]>
> wrote:
>
> > 2009/2/17 Greg Krimer <[email protected]>:
>
> > > Did you mean:
>
> > > <style name="MyTranslucent"
> > > parent="android:Theme.Translucent.NoTitleBar"></style>
>
> > Yes, Translucents Themes are not inherited, other theme are ...
>
> > > Anyway, I can confirm that it indeed does not work.
>
> > > But this does (in the sense that the title bar is absent):
>
> > > <style name="MyTranslucent" parent="android:Theme.NoTitleBar"></
> > > style>
>
> > > How odd. I'd like to know what's up with this, too. Anyone have any
> > > ideas?
>
> > I do find a workaround, from the samples style.xml file (I do not find
> > any documentation about items of 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>
--~--~---------~--~----~------------~-------~--~----~
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