Hey, I have a ListView where each row is a layout inflated from an xml file. Within each layout I have a TextView which is defined by the following: <TextView style="@style/MenuItem" android:paddingLeft="10sp" android:textColor="@drawable/menu_item" />
The style attribute sets the font size and style, the textColor attribute is a selector drawable which changes the TextView font colour depending on whether it is currently selected or not. This is defined by the following: <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_selected="true" android:color="#FFFFFF" /> <item android:state_pressed="true" android:color="#FFFFFF" /> <item android:color="#000000" /> </selector> However, when I use this selector drawable to set the font colour it results in a weird issue where the TextView gets highlighted when the row is tapped, or tapped and dragged. See this screenshot for a better idea: http://i39.tinypic.com/v4q90n.jpg Is there anyway I can "disable" the TextView so it cannot be highlighted when tapped? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---