Skip to main content

Posts

Showing posts with the label slidingdrawer

Android (native java) - Sliding Drawer - Content (Imageview and Checkbox) click event not firing

In one of the project,we have a sliding panel from the bottom. In which user can choose the checkbox and click the image inside the panel. so i have added a sliding drawer component inside the relative layout. Top view will contain, listview and the bottom it will be a slidingdrawer. We have the handle and content part for the sliding component. Inside the content i have added a checkbox and imageview. I want to listen for those events when user clicks any one of those. I can able to listen for teh sliding drawer events but not the other two click events. DO i miss anything for listening of events inside content part in the sliding drawer. I tried by adding clickable property to true in layout xml. But still the same result. I searched in google, but not able to find the solution. Please let me know, if i am missing anything. <SlidingDrawer android:id="@+id/slidingDrawer1" android:layout_width="match_parent" android:layout_height="w