res/color/text_color_selector.xml
<selector xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item android:state_focused=
"true"
android:color=
"#FFA500"
/> -->
<item android:state_pressed=
"true"
android:color=
"#FFA500"
/>
<item android:color=
"#6A5ACD"
/>
</selector>
<TextView
android:id=
"@+id/tv_quit"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/text_color_selector"
/>