I have a ListView and here is its row layout
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="280dp">
<ScrollView
android:scrollbars="none"
android:focusable="false"
android:focusableInTouchMode="false"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/exploreImage"
android:src="@drawable/beard1"
android:adjustViewBounds="true"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</ScrollView>
<TextView
android:id="@+id/exploreText"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>
I had to implement ScrollView in my layout, description is here.
So, my trouble is OnItemClickListener that I set to listView doesnt work. I could implement OnTouchListener, but in the case I need to know position and id of the clicked item.
UPD1: code of my listView. Here it is
<ListView
android:id="@+id/exploreList"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
UPD2: I dont need to scroll this ScrollView, only ListView. Also I want OnItemClickListener work.
Any ideas? Thanks.