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

How to open left drawer from extreme left only? #40

Closed
19rs39 opened this issue Dec 13, 2014 · 3 comments
Closed

How to open left drawer from extreme left only? #40

19rs39 opened this issue Dec 13, 2014 · 3 comments

Comments

@19rs39
Copy link

19rs39 commented Dec 13, 2014

Hi
I am new to this high level of coding. Please could you help me by telling how can we open left drawer from extreme left as we do in inbuilt navigation drawer by android. Currently what is with your code is that if I swipe a little even from right, it just openmenu. Problem is that I have horizontalscrollview on my fragment and if I want to scroll in it, it opens left menu. Please help me out.

@SpecialCyCi
Copy link
Owner

Hi, sorry that it haven't supported opening left drawer from extreme left yet.
But for your problem, there has a way to solve it.
You can add the horizontalscrollview to ignored views.


Ignored Views
On some occasions, the slipping gesture function for locking/unlocking menu, may have conflicts with your widgets such as viewpager.By then you can add the viewpager to ignored view.

        // add gesture operation's ignored views
        FrameLayout ignored_view = (FrameLayout) findViewById(R.id.ignored_view);
        resideMenu.addIgnoredView(ignored_view);

@19rs39
Copy link
Author

19rs39 commented Dec 14, 2014

Thanks very much. It is really really helpful. I appreciate your help.

@SpecialCyCi
Copy link
Owner

You're welcome.

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

No branches or pull requests

2 participants