I was a hair too hasty in the previous reply.  Hours later and I found the 
real answer:

Using textViewStyle will set the properties but will also prevent local 
override of those values (by setting textAppearance directly on a 
TextView).  The real solution: do not set android:textAppearance on your 
theme, set android:textAppearanceSmall!  The internals use that latter 
attribute to setup the styles for default child textviews.  This also then 
allows for local override of the style using android:textAppearance.

So for the original example to be correct, make it look like this:

        <style parent="android:Theme.Light.NoTitleBar" name="MyTheme">
            <item name="android:colorBackground">#FFFFFF</item>
            <item 
name="android:textAppearanceSmall">@style/PrimaryText</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 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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to