Hi there,

I'm having a situation with themes and styles and I don't know if I'm doing 
the wrong thing, or if I bumped into a bug or a limitation.
The scenario is the following

I have a Theme that just contains a windowNoTitle

  <style name="Theme.Frotcom" parent="android:Theme">
    <item name="android:windowNoTitle">true</item>
  </style>

and I have a TextAppearance style to specify text size and color

  <style name="textWeirdo" parent="@android:style/TextAppearance">
    <item name="android:textSize">24sp</item>
    <item name="android:textColor">#CFCA42</item>
  </style>

Then I have an activity that uses the theme, and the layout being loaded, 
has a textview that uses the textWeirdo style in textAppearance.

I expected the textview to use the size and color defined in the style, but 
it's not.
If I remove the theme from the activity, then it works.

Is this a bug, or theme always overlaps everything?

Cheers

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to