item_color.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"><item android:state_focused="true" android:color="#ffb400"/>
<!-- focused -->
<item android:state_pressed="true" android:color="#ffb400"/>
<!-- pressed -->
<item android:state_selected="true" android:color="#ffb400"/>
<!-- pressed -->
<item android:color="#000000"/>
<!-- default -->
</selector>
item.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginRight="100dp"
android:orientation="vertical" >
<TextView
android:id="@+id/title_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:duplicateParentState="true"
android:paddingBottom="5dp"
android:paddingLeft="30dp"
android:paddingTop="5dp"
android:text="1、窃听记"
android:textColor="@drawable/item_color"
android:textSize="22sp" />
</LinearLayout>