Thursday, March 10, 2011

[android-developers] Change the text style according to state, in XML

Does someone know if it's possible to change a text view style (bold,
italic...) according to its state (pressed, selected...), the same way
a drawable can depend on the state using a <selector>?
I don't want to do that in Java, only with XML styles, but it seems
that's not possible.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate