drawable - Navigation drawer (menudrawer) Android 5 (lollipop) style -
I am using the Menudrawar Library in my project (this one :).
I am updating my app to be compatible with API 21 (Android 5 Lollipop) and Material Design. When you use this Library with the API21 menu drawer look bad.
I want to get the transition you can see in the new Play Store (new menu for arrow arrow icon).
What's the Best Way do that? Is it possible with the library? At this time I am thinking that the only solution is a custom driver but maybe I can use it in any way?
OK I spend a few hours with the new API and I think my best for me To rewrite the original drawer layout with lip.
But it may be useful to anyone with similar problems. I have created Test Project with DrerelayLayout (new project with Android Studio -> MenuDrawer).
And then I saw the same problem Wrong icon If you want to see fancy animation and good icons for Android 5.0, make sure that you are using:
Import android.support. ** v7 **. App.ActionBarDrawerToggle;
Note on v7 By default, fragment v4 is imported into the class and you will not see a nice icon.
Once you change V7, you will need to fix the Actionbar Dagger Toggle function to the new constructor. And all. You will see a new drawer icon.
Comments
Post a Comment