Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

How to Stickto both "Top" and "Bottom" sides? #74

Open
jamesmartins opened this issue Apr 29, 2015 · 1 comment
Open

How to Stickto both "Top" and "Bottom" sides? #74

jamesmartins opened this issue Apr 29, 2015 · 1 comment

Comments

@jamesmartins
Copy link

Hello!
I need to sliding stickto both sides on same time. How with yours library?

Thanks.

@JlUgia
Copy link
Contributor

JlUgia commented Jun 14, 2015

Hi @jamesmartins. Use stickTo to set where do you want to layer to appear from. If you need its boundaries to cover the entire screen simply do so using the typical mechanism in your layout. For example, suppose your layer lives inside a FrameLayout, and you want it to come from the bottom and cover the entire screen:

<com.wunderlist.slidinglayer.SlidingLayer
            android:layout_width="<width>"
            android:layout_height="match_parent"
            slidingLayer:stickTo="bottom"
            .../>

Hope it helps.

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

No branches or pull requests

2 participants