Sliding Drawer issue in android -


I am using a listview and slidingdrawer in an activity to open my intention sliding drawer and click on the item item Have to display The slider drawer content will be replaced based on the selected item.

UI layout is shown as follows.

  & lt ;? Xml version = "1.0" encoding = "UTF-8" & gt; & Lt; RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android" android: id = "@ + id / RelativeLayout1" Android: layout_width = "match_parent" Android: layout_height = "match_parent" & gt; & Lt; ListView android: id = "@ + id / presentation_list" Android: layout_width = "match_parent" Android: layout_height = "wrap_content" & gt; & Lt; / ListView & gt; & Lt; SlidingDrawer android: id = "@ + id / slidingDrawer1" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" Android: layout_alignParentLeft = "true" Android: layout_alignParentTop = "true" Android: content = "@ + id / content "Android: Handle =" @ + ID / Handle "Android: Orientation =" Horizontal "& gt; & Lt; Button android: id = "@ + id / handle" Android: layout_width = "40dp" Android: Layout_height = "Fill_parent" android: background = "@ android: color / darker_gray" / & gt; & Lt; LinearLayout Android: id = "@ + id / content" android: layout_width = "match_parent" Android: layout_height = "match_parent" android: orientation = "vertical" & gt; & Lt; TextView android: id = "@ + id / textView1" Android: Layout_width = "Match_parent" Android: Layout_height = "Wrap_content" Android: Please flip text = "could serve & amp; s images .." Android: textcolor = "@ Android: Color / Black "Android: Textstyle =" bold "/> & Lt; imageView android: id = "@ + id / content_imageview" Android: Layout_width = "Match_parent" Android: layout_height = "200dp" android: background = "@ android: color / black" Android: Layout_below = "@ id / presentation_list" / & Gt; & Lt; / LinearLayout & gt; & Lt; / SlidingDrawer & gt;   

I click on the list view slider, even when I click on the image view of the sliding drawer, my list view is also being clicked

enter content your content layout and Set it to true : > pre & lt; LinearLayout android: id = "@ + id / content" Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: orientation = "vertical" android: clickable = "true" & gt;

Unfortunately, I can not explain why.

Comments