0
此代碼是一個example.In在Android Studio中的「預覽」選項卡上,我看到在右邊size.However在左側的「A」和B當我安裝的應用程序到Android設備我看到「 「在右側和‘B’的左側。在Android的studio.Why當我在我的Android設備上運行應用程序時,觀看次數水平翻轉?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="A"
android:textSize="16sp/>
<LinearLayout/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="B"
android:textSize="16sp/>
<LinearLayout/>
<LinearLayout/>
檢查設備您的語言設置。您可能正在使用的設備從右到左語言而Android工作室默認爲從左到右。 –