我有一个文本视图,我在其中设置了波斯语/阿拉伯语文本并将重力设置为正确,但它在平板电脑中显示左侧的文本。如果将重力设置为左侧,则将其显示为右侧。我会做什么,直到它正常工作?
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/manage_account_id_textview"
android:text="فارسي"
android:gravity="right"
/>
</LinearLayout>