0
我真的试图建立的TextView的向右的严重性:安卓:设置TextView的RTL
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="6dp"
android:textDirection="anyRtl"
android:textSize="18sp"
android:gravity="right"
android:textColor="#000000">
</TextView>
在所有的手机我测试它`OK exept GT-S5830(2.3.4),在GT只有当我删除android:gravity =“right”它设置为正确。
感谢
仍然没有工作 – user3840841
删除机器人:textDirection = “anyRtl”,并尝试安卓重力= “right” – Loures
已经尝试了所有的组合......没有什么可以在所有手机中使用 – user3840841