8000 Drag bottom is always enabled · Issue #32 · ppamorim/Dragger · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Drag bottom is always enabled #32
Open
@mstedler

Description

@mstedler

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)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0