1

When I applied the following selector for a TextView in a ListView, the indicator for listItem disappear.

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_selected="true" android:state_pressed="false" 
      android:drawable="@color/myGreenLight"/>
    <item android:state_pressed="true" android:drawable="@color/myGreenDark"/>
    <item android:drawable="@color/black"/> 
</selector>

But is there anyway to disable the indicator for the overall project?

vqtr
  • 115
  • 1
  • 8
  • Please elaborate your question . I am unable to get your issue. – GrIsHu Jan 18 '13 at 10:13
  • @Grishu: By default, Google TV will automatically add an orange rectange to the border of a clickable view when it is focused. And I want to disable that function. – vqtr Jan 18 '13 at 12:39

1 Answers1

0

This looks like a similar problem. One of those answers might be able to applied to your situation.

Remove focus border of EditText

The question being why would you want to get rid of the selector highlight? How will the user know the item is selected?

Community
  • 1
  • 1
kingargyle
  • 1,239
  • 10
  • 15