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
Mini drawer -> Persistent Drawer #713
Comments
@timrae you can use the normal drawer and add it somewhere in your layout like done here: or you use the same mechanism shown with the MiniDrawer sample. this also does not move over the content. |
hmm are you sure about that? I am using the same mechanism as the MiniDrawer example, and I just checked the sample app, which definitely moves the content (you can see that the text "embedded drawer" moves to the right and is no longer centered in the view when the drawer is open). |
also the navigation icon in the action bar changes to a back button when I enable the MiniDrawer whereas in gmail I believe it is a hamburger which expands the MiniDrawer into a proper nav. drawer. |
The left caret at the top of the drawer which folds it into MiniDrawer (as in pic in first post) would be cool as well if I were to be greedy :) |
@timrae i just published a new version of the The function of the v1.1.0 of the |
@timrae i hope you like the new added persistent drawer sample: it showcases how to create a drawer like the one shown in the MaterialDesignGuidelines by using all the APIs the MaterialDrawer offers. It can even be used in RTL layout. At the moment there are two bugs (but as this is not part of the lib but custom behavior you can achieve with the drawer it is possible to fix them without depending on the library itself):
|
It could be really cool if we could do the persistent drawer in the material design spec. I tried using
.withDrawerLayout()
with a permanent DrawerLayout inside a LinearLayout in my XML, but that didn't work.It would be even cooler if the mini drawer could automatically expand into a persistent drawer and vice-versa. Currently expanding the mini-drawer obscures some of the content.
The text was updated successfully, but these errors were encountered: