Hi again:

I was mistaken and will close the question soon.

Indeed *textAppearance* works very well. What I did not consider is that the
properties I was using "shadow**" are for the entire element and are not
being considered "text properties", and as such will be ignored when using
"textAppearance".

For the elements noticed in the stackoverflow question, I might simply
haven't seen it as #333333 on light gray background looks like black.. sorry
& thx.

BR,
Sebastian

On Thu, Mar 17, 2011 at 11:29 PM, Sebastian Roth
<sebastian.r...@gmail.com>wrote:

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