I have a ListView with a custom adapter. I can click on the list elements. However, it only works when clicking outside of the text area of the row. When clicking on the text nothing happens.
I have set the Row layout as:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp"
android:descendantFocusability="blocksDescendants">
....
And the text style includes:
<item name="android:clickable">false</item>
<item name="android:focusable">false</item>
<item name="android:focusableInTouchMode">false</item>
Do you have a solution where I will be able to click anywhere in the row?