how set text direction in android
<p>I have a textview and I set farsi/arabic text in it and set gravity as right but it in tablets display text in left .and if set gravity left display it right.what I do until it work as true?</p>

<pre><code>&lt;LinearLayout android:layout_width="fill_parent"
              android:layout_height="wrap_content"
            &gt;
&lt;TextView android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:id="@+id/manage_account_id_textview"
          android:text="فارسي"
          android:gravity="right"
          /&gt;
&lt;/LinearLayout&gt;
</code></pre>
