【发布时间】:2013-09-04 13:54:24
【问题描述】:
这是我在 main.xml 中的按钮
<Button
android:id="@+id/checkInButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/checkIn"
android:textDirection="anyRtl"
android:textStyle="bold" />
是否有任何属性可以使其成为 RTL,即从右到左?
【问题讨论】:
-
stackoverflow.com/questions/7874125/… 如果有帮助,请检查一下
-
您希望它在哪个最低版本的 Android 上运行?答案各不相同。
-
通常,当您使用 utf-8 中的字符串资源时,您会简单地看到它工作正常。您的应用程序中是否存在某些特定问题?您运行哪个版本的 Android?
标签: android button layout right-to-left hebrew