|
|
|
|
@ -23,22 +23,18 @@ |
|
|
|
|
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" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/playerText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
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="EXO" /> |
|
|
|
|
@ -166,7 +162,7 @@ |
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/tunnel" |
|
|
|
|
android:id="@+id/danmuSpeed" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -179,23 +175,23 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_tunnel" |
|
|
|
|
android:text="@string/setting_danmu_speed" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/tunnelText" |
|
|
|
|
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/http" |
|
|
|
|
android:id="@+id/danmuSize" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -208,23 +204,32 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_http" |
|
|
|
|
android:text="@string/setting_danmu_size" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/httpText" |
|
|
|
|
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="OkHttp" /> |
|
|
|
|
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/buffer" |
|
|
|
|
android:id="@+id/danmuLine" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -237,12 +242,12 @@ |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginEnd="16dp" |
|
|
|
|
android:text="@string/setting_player_buffer" |
|
|
|
|
android:text="@string/setting_danmu_line" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/bufferText" |
|
|
|
|
android:id="@+id/danmuLineText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
@ -255,14 +260,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/danmuSpeed" |
|
|
|
|
android:id="@+id/tunnel" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -272,30 +277,26 @@ |
|
|
|
|
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_danmu_speed" |
|
|
|
|
android:text="@string/setting_player_tunnel" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuSpeedText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:id="@+id/tunnelText" |
|
|
|
|
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="慢" /> |
|
|
|
|
tools:text="關" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuSize" |
|
|
|
|
android:id="@+id/http" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -305,30 +306,26 @@ |
|
|
|
|
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_danmu_size" |
|
|
|
|
android:text="@string/setting_player_http" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuSizeText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:id="@+id/httpText" |
|
|
|
|
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="1倍" /> |
|
|
|
|
tools:text="OkHttp" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
android:id="@+id/danmuMaxLine" |
|
|
|
|
android:id="@+id/buffer" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_marginTop="16dp" |
|
|
|
|
@ -338,27 +335,31 @@ |
|
|
|
|
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_danmu_maxline" |
|
|
|
|
android:text="@string/setting_player_buffer" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/danmuMaxLineText" |
|
|
|
|
android:id="@+id/bufferText" |
|
|
|
|
android:layout_width="0dp" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_weight="0.7" |
|
|
|
|
android:ellipsize="middle" |
|
|
|
|
android:layout_weight="1" |
|
|
|
|
android:gravity="end" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:textColor="@color/white" |
|
|
|
|
android:textSize="18sp" |
|
|
|
|
tools:text="1" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
<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> |
|
|
|
|
</androidx.core.widget.NestedScrollView> |