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

Possible Features #13

Open
PixelCrunch opened this issue May 28, 2013 · 6 comments
Open

Possible Features #13

PixelCrunch opened this issue May 28, 2013 · 6 comments

Comments

@PixelCrunch
Copy link

Is it possible to have the menu "slide on top" of the main layout instead of "pushing" the main layout out of the way?

My implementation would be sliding a layout on top of the previous layout so that the previous layout is still visible on the edge.

Also is there a way to listen for when the open or close animation if finished?

Here is a layout example:
http://pastebin.com/cKcFDLij

Cheers,
your projects are a life saver!

@dmitry-zaitsev
Copy link
Owner

I'll think about it. Most likely I will implement this feature, but not too soon (within a month, I suppose). Although, if this is urgent, then you can do it by yourself (this is not too hard and I'll guide you).

To know when slide is completed (with animation or not), you can use this method:

SlideHolder.setOnSlideListener(SlideHolder.OnSlideListener);

You'll receive a boolean (true - menu was opened, false - menu was closed).

@PixelCrunch
Copy link
Author

Thank You,

I will attempt to implement this functionality (and possibly learn a thing or two in the process!).

Your help has been invaluable 👍

@dmitry-zaitsev
Copy link
Owner

Alright, then you better fork this repo :)

Please, mail me directly (my Email is in my profile on GitHub) - I'll get you some advices on where to look and what to change.

@stephanetrepier
Copy link

Nothing in relation to this topic but I think it's not important to open an other one...

It's me or it seems that there is deceleration or step between 0-85% opening and the 15% remaining (also when you close) or it's just a lag ?
This phenomenon appears only when you don't let your finger in the screen to slide, when you "throw" the menu to open or close...

@stephanetrepier
Copy link

Ok indeed in the SlideAnimation there is DecelerateAnimation ^^ Sorry !

@headonn
Copy link

headonn commented Dec 6, 2013

I am not able to implement the following method in my class:
SlideHolder.setOnSlideListener(SlideHolder.OnSlideListener);

Its giving an error in this line, SlideHolder.OnSlideListener. Can anyone suggest me how to implement this. Thanks

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

4 participants