android - Does anyone have idea to remove default push up of main content in Sothree SlideUpPanel layout? -
i have done layout using sothree slideuppanel github link here. when using main content scroll on dragview. there said there method setoverlayed. tried 1 not working me. have idea this?
this code
<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:umanopanelheight="68dp" sothree:umanoshadowheight="4dp" sothree:umanoparalaxoffset="100dp" sothree:umanodragview="@+id/dragview" sothree:umanooverlay="true"> <linearlayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <include android:id="@+id/tool_bar" layout="@layout/tool_bar"> </include> <slidingtablayout android:id="@+id/tabs" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/black" android:elevation="2dp"/> <android.support.v4.view.viewpager android:id="@+id/pager" android:layout_height="match_parent" android:layout_width="match_parent" android:layout_weight="1"> </android.support.v4.view.viewpager> </linearlayout> <linearlayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="#ffffff" android:orientation="vertical" android:clickable="true" android:focusable="false" android:id="@+id/dragview"> <linearlayout android:layout_width="match_parent" android:layout_gravity="start" android:gravity="start" android:clickable="true" android:id="@+id/actionbarcustom" android:background="@color/black" android:layout_height="?actionbarsize"> <imageview android:id="@+id/backfloatmenu" android:layout_marginleft="5dp" android:layout_width="wrap_content" android:src="@drawable/abc_ic_ab_back_mtrl_am_alpha" android:layout_height="match_parent" /> </linearlayout> <include android:id="@+id/sv" layout="@layout/float_latout"/> </linearlayout> </com.sothree.slidinguppanel.slidinguppanellayout>
this line :
sothree:umanooverlay="true" define panel overlay main content.
Comments
Post a Comment