2013-09-01 31 views
0

这是我在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任何财产,在从右到左换句话说?

+1

http://stackoverflow.com/questions/7874125/how-to-write-text-right-to-left-arabic-textin-android 勾选此帮助 – Ritaban

+0

什么是最低版本的Android的那你想要这个工作吗?答案各不相同。 –

+0

通常,当你在utf-8中使用字符串资源时,你会发现它工作正常。您的应用中是否存在某些特定问题?你运行的是哪个版本的Android? –

回答