<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:textAppearance="?android:attr/textAppearanceMedium"
    android:padding="10dp"
    android:background="?android:attr/activatedBackgroundIndicator" >
</TextView>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/profile_name"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:textAppearance="?android:attr/textAppearanceMedium"
    android:padding="10dp"
    android:background="?android:attr/activatedBackgroundIndicator" >
</TextView>
Add id attribute to TextView
Add id attribute to TextView