How to get the "android:drawSelectorOnTop="true"" effect on TextViews?

Viewed 16

so I have an app with a few TextViews around a GridView, and all of them are clickable, do different stuff and have different background colors, and I want all of them to have the "clickable" look achieved by android:drawSelectorOnTop="true" in the GridView, but I haven't been able to find something which works like that on a TextView, I tried all of the below and failed:

android:clickable="true"
android:focusable="true"
android:focusableInTouchMode="true"

So before I'll go ahead and create a new background for each and every TextView, I wanted to ask and see if there's a smarter way. Thanks in advance :)

0 Answers
Related