Open
Description
using appcompat-v7:23.1.0
I'm able to DRAG bottom always.
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.dragger_layout);
setDraggerPosition(DraggerPosition.LEFT);
<com.github.ppamorim.dragger.DraggerView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:drag_view_id="@+id/drag_view"
app:shadow_view_id="@+id/shadow_view"
android:id="@+id/dragger_view">
<FrameLayout
android:id="@+id/shadow_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
android:visibility="invisible" />
<RelativeLayout
android:id="@+id/drag_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white">
...
</RelativeLayout>
</com.github.ppamorim.dragger.DraggerView>
When dragging bottom the shadow_view is always DARK.
When dragging left the shadow_view is normal(with alpha animation)
Activity