title: Right to left menu items Android
body: <p>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.</p>
  
  <p>Here is my code : </p>
  
  <p></p>
  
  <pre><code>&lt;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"&gt;
  
      &lt;group android:checkableBehavior="single"
          android:layout_gravity="end"
          android:gravity="end"&gt;
  
          &lt;item
              android:id="@+id/nav_1"
              android:icon="@drawable/ic_keyboard_arrow_left_24dp"
              android:gravity="end"
              android:layout_gravity="end"
              android:title="آگهی خود را ثبت کنید"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/g7yMc.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/g7yMc.jpg" alt="enter image description here"></a></p>
  
  <p>The desired menu will be : </p>
  
  <p><a href="https://i.stack.imgur.com/xRnZW.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/xRnZW.jpg" alt="enter image description here"></a></p>