I have a ListView that each item has a layout containing a HorizontalScrollView . the problem is that I cannot get the whole list item to focus when the user clicks or touches the list item.
how can i solve this?
thank
Edit: HorizontalScrollView is as follows:
<HorizontalScrollView android:layout_width="fill_parent" android:layout_height="wrap_content" android:fillViewport="true" android:scrollbars="none" android:focusable="false" android:fadingEdge="none" android:layout_weight="1" android:id="@+id/scrollView" ></HorizontalScrollView>
OK Guys, I get it. at LinearLayout completing my HorizontalScrollView, I added the following attribute:
android:descendantFocusability="blocksDescendants"
so that HorizontalScrollView does not get focus.
HorizontalScrollView ListView. . ExpandableListView. , .
HorizontalScrollView
ListView