[shamelessly copied from
http://stackoverflow.com/questions/5337680/using-androidtextappearance-on-textview-edittext-fails-but-style-worksas
I believe we have proficient API aware people reading here ;-)]

Hello,

I'm facing a problem that TextView or EditText *text* styling via
textAppearance doesn't work or only works via the style attribute, which
isn't useful, if that element in particular is being styled with non-text
parameters.

In detail, I'm using:
<TextView ... style="@styles/MyStyle">

and
<TextView ... android:textAppearance="@styles/MyStyle">

whereas styles/MyStyle is defined as :
<style name="MyStyle">
<item name="android:textStyle">bold</item>
</style>

This will only render the 1st TextView bold, but not the 2nd one.

Do I miss a point in the textAppearance usage here?

Thanks everyone,
Sebastian

-- 
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