I have a ListView with some elements on it. Each row has a TextView and a Button. It looks like this:
| Some text in a row (Button) |
Now, w
add the property focusable="false" to your TextView ::
and probably you will need to do the same to the other elements inside your ListView.
Programatically we can use the method setFocusable():
v.findViewById(R.id.my_button).setFocusable(false);
setFocusable(): Setting this to false will also ensure that this view is not focusable in touch mode.