I've TextView. I need to make it clickable, white and with "selectable effect", besides I need it to have a rectangular white border, to fake a button borders:
<TextView
android:id="@+id/test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:selectableItemBackground"
android:background="@drawable/white_empty_rectangle"
android:clickable="true"
android:padding="10dp"
android:text="Test"
android:textColor="@color/white" />
I can't set two background properties...how can I somehow "intersect" the two properties?
EDIT: I only need the borders of the rectangle, so it is "empty", I should see the background color behind the TextView.