On 02/27/2012 08:13 PM, Bluemercury wrote:
Okay, even after those changes i still get the focus color behind the gradient background. i just putted round corners in the gradient and i can see it behind....let me show what i have now then:
Here is my selector:

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android";>

<item android:drawable="@android:color/transparent" android:state_pressed="true"/> <item android:drawable="@android:color/transparent" android:state_selected="true"/>
<item android:drawable="@color/message_list_read_background_dark"/>

</selector>

I think you're missing android:state_selected in yours. Sorry about the confusion - I was typing from memory and just now went to look at the code.

-- Kostya

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