EditText and ListView are not working together
问题 I am having a weird problem where I have added an EditText inside a ListView and it is not clickable. When I do setFocusable:true in the EditText xml it is working but then the ListView items are not clickable. I have tried using android:descendantFocusability="afterDescendants" , blockDescendants and beforDescendants , but I read that these solutions works only for TextView and checkbox. Can somebody help to make both the things work together. Thanks in advance. 来源: https://stackoverflow.com