PierfrancescoSoffritti/sliding-panel

Add XML argument to set bottom offset from slidable view.

Closed this issue · 0 comments

Something like:

<com.pierfrancescosoffritti.slidingdrawer.SlidingDrawer
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:id="@+id/sliding_panel"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  app:preventSlidableViewContentFromGoingOffscreen="false|true">
</com.pierfrancescosoffritti.slidingdrawer.SlidingDrawer>

If the attribute is ture a bottom padding should be added to slidable view. Instead of adding it to sliding_drawer_collapsed_view.