pull/142/head
FongMi 3 years ago
parent 608ae9ade9
commit 5ceda0b6bf
  1. 4
      app/build.gradle
  2. 32
      app/src/leanback/res/layout/activity_setting_player.xml
  3. 32
      app/src/mobile/res/layout/fragment_setting_player.xml

@ -21,12 +21,12 @@ android {
leanback {
dimension "mode"
versionCode 205
versionName "20230905"
versionName "20230908"
}
mobile {
dimension "mode"
versionCode 205
versionName "20230905"
versionName "20230908"
}
java {
dimension "api"

@ -46,7 +46,7 @@
</LinearLayout>
<LinearLayout
android:id="@+id/flag"
android:id="@+id/subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -59,23 +59,23 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_flag"
android:text="@string/setting_player_subtitle"
android:textColor="@color/white"
android:textSize="18sp" />
<TextView
android:id="@+id/flagText"
android:id="@+id/subtitleText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:textColor="@color/white"
android:textSize="18sp"
tools:text="自動" />
tools:text="16" />
</LinearLayout>
<LinearLayout
android:id="@+id/subtitle"
android:id="@+id/flag"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -88,23 +88,23 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_subtitle"
android:text="@string/setting_player_flag"
android:textColor="@color/white"
android:textSize="18sp" />
<TextView
android:id="@+id/subtitleText"
android:id="@+id/flagText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:textColor="@color/white"
android:textSize="18sp"
tools:text="16" />
tools:text="自動" />
</LinearLayout>
<LinearLayout
android:id="@+id/http"
android:id="@+id/tunnel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -117,23 +117,23 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_http"
android:text="@string/setting_player_tunnel"
android:textColor="@color/white"
android:textSize="18sp" />
<TextView
android:id="@+id/httpText"
android:id="@+id/tunnelText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:textColor="@color/white"
android:textSize="18sp"
tools:text="OkHttp" />
tools:text="" />
</LinearLayout>
<LinearLayout
android:id="@+id/tunnel"
android:id="@+id/http"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -146,18 +146,18 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_tunnel"
android:text="@string/setting_player_http"
android:textColor="@color/white"
android:textSize="18sp" />
<TextView
android:id="@+id/tunnelText"
android:id="@+id/httpText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:textColor="@color/white"
android:textSize="18sp"
tools:text="" />
tools:text="OkHttp" />
</LinearLayout>
</LinearLayout>

@ -69,7 +69,7 @@
</LinearLayout>
<LinearLayout
android:id="@+id/flag"
android:id="@+id/subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -80,12 +80,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_flag"
android:text="@string/setting_player_subtitle"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/flagText"
android:id="@+id/subtitleText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="middle"
@ -93,12 +93,12 @@
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="自動" />
tools:text="16" />
</LinearLayout>
<LinearLayout
android:id="@+id/subtitle"
android:id="@+id/flag"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -109,12 +109,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_subtitle"
android:text="@string/setting_player_flag"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/subtitleText"
android:id="@+id/flagText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="middle"
@ -122,12 +122,12 @@
android:singleLine="true"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="16" />
tools:text="自動" />
</LinearLayout>
<LinearLayout
android:id="@+id/http"
android:id="@+id/background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -138,18 +138,18 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_http"
android:text="@string/setting_player_background"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/httpText"
android:id="@+id/backgroundText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="OkHttp" />
tools:text="畫中畫" />
</LinearLayout>
@ -181,7 +181,7 @@
</LinearLayout>
<LinearLayout
android:id="@+id/background"
android:id="@+id/http"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@ -192,18 +192,18 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="@string/setting_player_background"
android:text="@string/setting_player_http"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/backgroundText"
android:id="@+id/httpText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="end"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="畫中畫" />
tools:text="OkHttp" />
</LinearLayout>
</LinearLayout>

Loading…
Cancel
Save