各アイテムにwithandroid.widget.Gallery
とImageView
aがあります。
ユーザーは、画像に削除のマークを付けることができます。 Checkbox
このカスタムがあると、スクロール/フリングできませんView
。すべてが正常に読み込まれており、画像が上に表示されていることがわかりCheckBox
ます。
タッチ イベントが、Gallery
この委任タッチに関する 20 のディスカッションを読んだことをどのように行うことができますが、何も機能しません。
ここに私の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="fill_parent"
android:clickable="false"
android:focusable="false"
>
<ImageView android:id="@+id/thumbImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:clickable="false"
android:focusable="false"
/>
<CheckBox android:id="@+id/itemCheckBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:clickable="false"
/>
</RelativeLayout>