Monday, October 17, 2011

Re: [android-developers] In Textview, how to change the 'selected' color?

Have you tried looking at a selector?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Mon, Oct 17, 2011 at 10:42 PM, Build account <newandroid55@gmail.com> wrote:
Hello.

Is there any way to change the color of 'selected' state?
Since I'm trying to use textview as below.

- one simple textview with a standard TextAppearance attribute.
- with marquee attribute as well.
- I have set tv.setSelected(true); for marquee effect.
- in this case I want to change the text color which the moving text's
color.

setHighlightColor seem that not working..

Any workaround please?

Please advice me

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

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