1
score
2.7K
views
no
status
CC BY-SA 3.0
Listview onClickListener is not working in Drawer Layout
In your RelativeLayout set android:clickable="true" . Or, a better approach would be to set an OnItemClickListener on your ListView .
Technical answers from my Stack Overflow history, with source links and licenses.
Showing 2 of 2 answers tagged android-listview
Exported May 9, 2026
In your RelativeLayout set android:clickable="true" . Or, a better approach would be to set an OnItemClickListener on your ListView .
If you post some code it would be helpful. However, having had issues with this in the past I know using postDelayed usually fixes it: