1
我寫在希伯來語中的應用程序,但有字詞的方向的問題方向:設置權限到左希伯來語在Android應用
這是代碼:
textView2.setText("יצרן: " + company + "\n");
textView2.append("דגם: " + degem + "\n");
textView2.append("מנוע: " + manoa + "\n");
textView2.append("ק'מ/ליטר: "+ watt + "\n");
textView2.append("נסיעה: " + timeString + " " + timeMedida+"\n");
我:
יצרן:ABARTH
,而不是
ABARTH:י רן
和
דגם:005
,而不是
דגם:500
的XML:
<TextView
android:id="@+id/txt_1_delek"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="50sp"
android:layout_marginRight="100sp"
android:layout_marginLeft="100sp"
android:text="myTextView"/>
這有幫助嗎? http://stackoverflow.com/questions/6302221/android-setting-problem-with-textview-for-hebrew-text –