Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag bottom is always enabled #32

Open
mstedler opened this issue Oct 19, 2015 · 2 comments
Open

Drag bottom is always enabled #32

mstedler opened this issue Oct 19, 2015 · 2 comments
Assignees
Labels

Comments

@mstedler
Copy link

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)

@ppamorim ppamorim added the bug label Oct 19, 2015
@ppamorim ppamorim self-assigned this Oct 19, 2015
@ppamorim
Copy link
Owner

I`ll review, but you can create a test case for this issue?

@Mohammad-Tabbara
Copy link

Mohammad-Tabbara commented Feb 8, 2017

Hello, The bug is happening with me when I start an activity. Don't now what I am doing wrong
Edit solved had the 2 ways for implement dragger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants