kanytu / android-material-drawer-template

An Android template with navigation drawer for material design
Apache License 2.0
674 stars 217 forks source link

Do we have to remove ScrimInsetsFrameLayout on Lollipop? #25

Closed yolapop closed 9 years ago

yolapop commented 9 years ago

I just tested my app on Lollipop emulator and somehow when the nav drawer is opened, the scrim is visible on top of the nav drawer. If I remove ScrimInsetsFrameLayout from layout-v21, it works fine..

kanytu commented 9 years ago

I think that's the intended effect. Have you looked at Google Play Store? The same bar is visible too. However feel free to remove it from the XML. It will work anyway.

device-2015-02-09-092212 device-2015-02-09-092606

yolapop commented 9 years ago

No by "on top of the drawer", I meant on the whole screen.. the drawer looked dark when opened (sorry no screenshot available). Maybe that's because the emulator or something but I've removed ScrimInsetsFrameLayout and it worked okay. EDIT: yea definitely will re-check later with real device