I have an Slide menu as picture one. And i need to align its items title to be right to left like slide two . I tried gravity=right but didn't work.
Here is my code :
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="end"
android:layout_gravity="end">
<group android:checkableBehavior="single"
android:layout_gravity="end"
android:gravity="end">
<item
android:id="@+id/nav_1"
android:icon="@drawable/ic_keyboard_arrow_left_24dp"
android:gravity="end"
android:layout_gravity="end"
android:title="آگهی خود را ثبت کنید"/>
</menu>
The desired menu will be :