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

On Lollipop make sure the Snackbar elevation is the same as other children #120

Merged
merged 1 commit into from
May 6, 2015

Conversation

jonathan-caryl
Copy link

This fixes issue #109, where the Snackbar is displaying under the rest of the view. On Lollipop we need to make sure that the elevation of the Snackbar is as high as the other child view(s).

@@ -2,6 +2,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:elevation="16dp"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting an elevation on a regular layout isn't something you'd probably do, but you do want to do if for a DrawerLayout. Setting it here means we can see issue #109, and hence see the fix works.

@wmora
Copy link
Contributor

wmora commented May 6, 2015

that was fast :)

wmora added a commit that referenced this pull request May 6, 2015
On Lollipop make sure the Snackbar elevation is the same as other children
@wmora wmora merged commit 2ac86db into nispok:master May 6, 2015
@wmora
Copy link
Contributor

wmora commented May 6, 2015

will be able to publish a new version with this fix tonight as soon as I get home

@wmora wmora modified the milestones: 2.10.9, 2.10.8 May 6, 2015
@jonathan-caryl
Copy link
Author

Sweet!

@wmora
Copy link
Contributor

wmora commented May 7, 2015

@jonathan-caryl 2.10.8 is now published

@jonathan-caryl
Copy link
Author

Great

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

Successfully merging this pull request may close these issues.

2 participants