Need help in using CheckedTextView in android
<p>I have the following in my layout.xml file:</p>

<pre><code>&lt;CheckedTextView 
    android:id="@+id/checktext"
    android:layout_width="fill_parent"
    android:layout_height="?android:attr/listPreferredItemHeight"
    android:textAppearance="?android:attr/textAppearanceLarge"
    android:gravity="center_vertical"
    android:checkMark="?android:attr/listChoiceIndicatorSingle"
    android:paddingLeft="6dip"
    android:paddingRight="6dip"
/&gt;
</code></pre>

<p>It shows the 'radio button', but when I call in my onClickListener()? </p>

<pre><code>CheckedTextView numberView2 = (CheckedTextView) v.findViewById(R.id.checktext);
numberView2.setSelected(true);
v.invalidate();
</code></pre>

<p>It does not show the 'radio button' as selected. I have stepped via the source code, it does execute 'numberView2.setSelected(true);', but it still does not show the radio button as selected.</p>

<p>Can you please tell me why is that? And how can I fix my problem.</p>
