Hi,
How to uncheck the Checked textview in customlistview of a white
background.
This is the xml part:
<CheckedTextView
android:id="@+id/chk"
android:textColor="#000"
android:checkMark="@drawable/blue_arrow"
android:layout_alignParentRight="true"
android:layout_alignParentLeft="true"
android:clickable="true"
android:focusable="true"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="2dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
in java i am usinglike this:
chtextview.setOnClickListener(new View.OnClickListener() {
public void onClick(View v)
{
System.out.println("onclick of checkd texview");
chtextview.toggle();
}
});
But it is not toggling
Please help
--
Regards,
Vani Reddy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en