2
좋아, 이전 질문 '레이아웃 질문'을 알아 낸 후, 이제는 내 OnItemClickListener 및 ItemLongClickListener (ContextMenu)가 작동을 멈췄습니다.왜 내 레이아웃 OnItemClickListener가 작동하지 않습니까?
<?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>
사람이 작동이 중지 이유에 관해서는 어떤 아이디어가 : 그냥 텍스트 뷰와 함께 그것을 잘
XML을 작동?
감사
난이 할 수있는 뭔가가 생각하고를 따라서 초점을 복용하기에서 버튼을 방지 할 수 있습니다 RadioButton을 편집/클릭 할 수 있습니까? – bugzy
이 질문을 확인하십시오 : http://stackoverflow.com/questions/5374011/adding-checkbox-to-list-row-loses-my-onitemclick-events –