Layout Question - OnItemClickListener not working now
Posted
by user244190
on Stack Overflow
See other posts from Stack Overflow
or by user244190
Published on 2010-01-19T22:26:35Z
Indexed on
2010/03/18
16:01 UTC
Read the original article
Hit count: 310
android
Ok, after figuring out the earlier question 'Layout Question', now my OnItemClickListener, and ItemLongClickListener(ContextMenu) have stopped working. With just the TextView it works fine
xml:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/txtVehName"
android:hint="@string/VEH_NAME"
android:textSize="18dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dip"
android:layout_alignParentBottom="true"
>
</TextView>
<RadioButton
android:id="@+id/rbDefault"
android:text=""
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
>
</RadioButton>
</RelativeLayout>
Anyone have any ideas as to why this would stop working?
thanks
© Stack Overflow or respective owner