navigation-drawer

How to set Navigation Drawer to be opened from right to left

不问归期 提交于 2019-11-26 00:36:34
问题 First of all I know this question appeared here before but after trying a lot i still didn\'t succeed. I working on the example from Android Developers site. I\'m trying to set the menu to be opened from right to left instead of how its implementing in the example (from left to right). In addition I want to move the open menu button to the right side of the action bar. I also red some answers here, for example in this answer. I try to change the gravity of the views and the layouts but I get

Android - Is Navigation Drawer from right hand side possible?

混江龙づ霸主 提交于 2019-11-26 00:24:04
问题 http://developer.android.com/training/implementing-navigation/nav-drawer.html According to this doc, it doesn\'t say if it is possible to implement drawer from right hand side. Is it even possible? :( 回答1: Here is the documentation on the drawer and it appears that you can configure it to pull out from the left or right. Drawer positioning and layout is controlled using the android:layout_gravity attribute on child views corresponding to which side of the view you want the drawer to emerge

Same Navigation Drawer in different Activities

╄→尐↘猪︶ㄣ 提交于 2019-11-25 22:45:37
问题 I made a working navigation drawer like it\'s shown in the tutorial on the developer.android.com website. But now, I want to use one Navigation Drawer, i created in the NavigationDrawer.class for multiple Activities in my Application. My question is, if anyone here can make a little Tutorial, which explains, how to use one Navigation drawer for multiple Activities. I read it first at this Answer Android Navigation Drawer on multiple Activities but it didn\'t work on my Project public class