i am fresher in android development. i know very well how to implement native sidebar menu. but my problem is i want this sidebar menu on the right side of the screen.
So is it possible? please help me.
Thanks in advance.
i am fresher in android development. i know very well how to implement native sidebar menu. but my problem is i want this sidebar menu on the right side of the screen.
So is it possible? please help me.
Thanks in advance.
It is affected by layout_gravity
.
If layout_gravity = start
then navigation drawer will open left to right and
if layout_gravity = end
then it will open right to left.
<ListView
android:id="@+id/adventuresRTL"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="end"
android:background="#AAAAAA"
android:choiceMode="singleChoice"
android:divider="@android:color/transparent"
android:dividerHeight="10dp" />