|
|
|
|
@ -43,7 +43,6 @@ |
|
|
|
|
android:paddingEnd="16dp" |
|
|
|
|
android:paddingBottom="16dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/player" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
@ -55,7 +54,7 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player" |
|
|
|
|
android:text="@string/player" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
@ -73,7 +72,7 @@ |
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/ua" |
|
|
|
|
android:id="@+id/render" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -84,20 +83,18 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_ua" |
|
|
|
|
android:text="@string/player_render" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/uaText" |
|
|
|
|
android:id="@+id/renderText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="okhttp/4.11.0" /> |
|
|
|
|
tools:text="Surface" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
@ -113,7 +110,7 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_caption" |
|
|
|
|
android:text="@string/player_caption" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
@ -142,7 +139,7 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_subtitle" |
|
|
|
|
android:text="@string/player_subtitle" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
@ -160,7 +157,7 @@ |
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/flag" |
|
|
|
|
android:id="@+id/danmuSpeed" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -171,25 +168,23 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_flag" |
|
|
|
|
android:text="@string/player_danmu_speed" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/flagText" |
|
|
|
|
android:id="@+id/danmuSpeedText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="自動" /> |
|
|
|
|
tools:text="慢" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/background" |
|
|
|
|
android:id="@+id/danmuSize" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -200,50 +195,32 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_background" |
|
|
|
|
android:text="@string/player_danmu_size" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/backgroundText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:id="@+id/danmuSizeText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="畫中畫" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuSpeed" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
tools:text="1" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_danmu_speed" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:text="@string/times" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuSpeedText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="慢" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuSize" |
|
|
|
|
android:id="@+id/danmuLine" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -254,12 +231,12 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_danmu_size" |
|
|
|
|
android:text="@string/player_danmu_line" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuSizeText" |
|
|
|
|
android:id="@+id/danmuLineText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
@ -272,14 +249,14 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:text="@string/times" |
|
|
|
|
android:text="@string/lines" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuLine" |
|
|
|
|
android:id="@+id/background" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -290,28 +267,48 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_danmu_line" |
|
|
|
|
android:text="@string/player_background" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuLineText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:id="@+id/backgroundText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="1" /> |
|
|
|
|
tools:text="畫中畫" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/flag" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:text="@string/lines" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/player_flag" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/flagText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="自動" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
@ -326,7 +323,7 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_tunnel" |
|
|
|
|
android:text="@string/player_exo_tunnel" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
@ -353,7 +350,7 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_http" |
|
|
|
|
android:text="@string/player_exo_http" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
@ -380,7 +377,7 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_buffer" |
|
|
|
|
android:text="@string/player_exo_buffer" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
@ -403,6 +400,35 @@ |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/ua" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:background="@drawable/shape_item" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/player_ua" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/uaText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="okhttp/4.11.0" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
</LinearLayout> |
|
|
|
|
</androidx.core.widget.NestedScrollView> |
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |