How can i make the navigation drawer open from the right to the left?
Main.xml
In your main.xml
there is the android.support.design.widget.NavigationView
which has the following attribute: android:layout_gravity="end"
. You have to set it to right, so it will be like this: android:layout_gravity="right"
.
The rest is done by the design support lib.
Note that the Android Studio will show a warning that you should use end
instead of right
in order to ensure correct behavior in right-to-left languages. You can ignore this message.