How to highlight TextView when CheckBox is pressed?
<p>I have a LinearLayout that contains CheckBox and TextView. I want to highlight TextView when CheckBox is pressed.  </p>

<p><strong>Layout and selector (in drawable folder)</strong>
</p>

<pre><code>&lt;LinearLayout
        android:orientation="vertical"
        android:gravity="center" &gt;
        &lt;CheckBox
            android:id="@+id/chkPlayStop"
            android:button="@drawable/play_stop_state" /&gt;
        &lt;TextView
            android:id="@+id/tvPlayStop"
            android:clickable="true"
            android:textColor="@drawable/text_view_state" /&gt;

&lt;/LinearLayout&gt;

&lt;selector xmlns:android="http://schemas.android.com/apk/res/android" &gt;
    &lt;item android:color="@color/white" android:state_pressed="true"/&gt;
    &lt;item android:color="@color/grey" /&gt;
&lt;/selector&gt;
</code></pre>

<p>Target: When I tap within the layout - checkbox change state and textview highlights.</p>

<p>Thanks.</p>
