Как только добавил кнопки - OnItemClickListener перестал вызываться, и теперь я не понимаю как обработать нажатие кнопки в списке?
Вот таким итьемом заполняю ListView. Адаптер SimpleCursorAdapter.
Код: Выделить всё
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageButton
android:id="@+id/iBtnEdit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@android:drawable/ic_menu_edit" />
<ImageButton
android:id="@+id/iBtnImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@android:drawable/ic_menu_gallery" />
<TextView
android:id="@+id/itemtv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
</LinearLayout>