|
|
|
|
@ -26,7 +26,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="18sp" /> |
|
|
|
|
|
|
|
|
|
@ -42,7 +42,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" |
|
|
|
|
@ -52,25 +52,21 @@ |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:layout_weight="0.3" |
|
|
|
|
android:text="@string/setting_player_ua" |
|
|
|
|
android:text="@string/player_render" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/uaText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:id="@+id/renderText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="0.7" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:text="okhttp/4.11.0" /> |
|
|
|
|
tools:text="Surface" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
@ -88,7 +84,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="18sp" /> |
|
|
|
|
|
|
|
|
|
@ -117,7 +113,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="18sp" /> |
|
|
|
|
|
|
|
|
|
@ -133,7 +129,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" |
|
|
|
|
@ -146,23 +142,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="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/flagText" |
|
|
|
|
android:id="@+id/danmuSpeedText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:text="自動" /> |
|
|
|
|
tools:text="慢" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuSpeed" |
|
|
|
|
android:id="@+id/danmuSize" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -175,23 +171,32 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_danmu_speed" |
|
|
|
|
android:text="@string/player_danmu_size" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuSpeedText" |
|
|
|
|
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="18sp" |
|
|
|
|
tools:text="慢" /> |
|
|
|
|
tools:text="1" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:text="@string/times" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuSize" |
|
|
|
|
android:id="@+id/danmuLine" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -204,12 +209,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="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuSizeText" |
|
|
|
|
android:id="@+id/danmuLineText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
@ -222,14 +227,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="18sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuLine" |
|
|
|
|
android:id="@+id/flag" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -242,27 +247,18 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_danmu_line" |
|
|
|
|
android:text="@string/player_flag" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuLineText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:id="@+id/flagText" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:text="1" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginStart="4dp" |
|
|
|
|
android:text="@string/lines" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
tools:text="自動" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
@ -280,7 +276,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="18sp" /> |
|
|
|
|
|
|
|
|
|
@ -309,7 +305,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="18sp" /> |
|
|
|
|
|
|
|
|
|
@ -338,7 +334,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="18sp" /> |
|
|
|
|
|
|
|
|
|
@ -361,5 +357,38 @@ |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/ua" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
android:background="@drawable/selector_item" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:layout_weight="0.3" |
|
|
|
|
android:text="@string/player_ua" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/uaText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="0.7" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:text="okhttp/4.11.0" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
</LinearLayout> |
|
|
|
|
</androidx.core.widget.NestedScrollView> |