You can set it programmatically or in the XML. I generally prefer the
latter: 
http://developer.android.com/reference/android/content/res/ColorStateList.html



Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Oct 15, 11:22 am, vorcigernix <[email protected]> wrote:
> You don't have to, I was at work and didn't have specific link to
> document, which is>
>
> http://commonsware.com/Android/excerpt.pdf
>
> Hope it helps, it helped me lot.
>
> On Oct 15, 3:35 pm, Mikael Bertlin <[email protected]> wrote:
>
>
>
> > Hi Thanks for the reply, but:
>
> > 1.  Thats not the answer I was looking for :-P
> > 2. I'd really like to figure this out without buying a book ....
>
> > On Oct 15, 9:06 am, vorcigernix <[email protected]> wrote:
>
> > > 1) Do not change default colors :)  As user, I am used to some color
> > > scheming, and all I need to know is that I am hovering or selecting
> > > something. It is not an aesthetic race..on appstore I saw application
> > > in which I was searching for ok button for 2 minutes. It wasn't
> > > there..author decided it is better to have "peel page" control.
>
> > > 2) If you really need to: there is great article about customizing
> > > listviews athttp://commonsware.com/
>
> > > On 14 říj, 23:51, Mikael Bertlin <[email protected]> wrote:
>
> > > > How do I change the original orange highlight color to something else?
> > > > That is, the color I get when I click in a ListView.
>
> > > > I've tried to set the android:textColorHighlight of the ListView
> > > > and/or the TextView for the rows, nothing work.
>
> > > > I've manage to remove it by setting android:listSelector="#00000000"
> > > > of my ListView but I just want to change the color, but it seems
> > > > impossible.
>
> > > > How do I do that?
>
> > > > Thanks
> > > > /Micke- Hide quoted text -
>
> > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to