I have created a demo application using AndroidSlidingPanel Library "https://github.com/umano/AndroidSlidingUpPanel" with a textview as the children. The problem is I cannot click on the label when I tried to click on the label panel slides down.
<com.sothree.slidinguppanel.SlidingUpPanelLayout
xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
sothree:panelHeight="68dp"
sothree:shadowHeight="4dp">
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="Main Content"
android:textSize="16sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center|top"
android:text="The Awesome Sliding Up Panel"
android:textSize="16sp"
android:onClick="ClickedOnLabel"
android:clickable="true"/>
I have come across similar post "Can't click children button in SlidingUpPanelLayout" but could not understand what setdragview is ? and what it does ?
can anyone throw some light how it should be done ?