mirror of https://github.com/FongMi/TV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
158 lines
6.2 KiB
158 lines
6.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/transparent"
|
|
android:elevation="0dp"
|
|
app:elevation="0dp"
|
|
app:liftOnScrollColor="@color/transparent">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_custom"
|
|
android:textColor="@color/white"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold"
|
|
app:layout_scrollFlags="scroll|enterAlways" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true"
|
|
android:overScrollMode="never"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="16dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/size"
|
|
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/setting_size"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/sizeText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
tools:text="Medium" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/danmuSync"
|
|
android:visibility="gone"
|
|
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_danmu_sync"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/danmuSyncText"
|
|
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/speed"
|
|
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/play_speed"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/speedText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
tools:text="x1" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/aggregatedSearch"
|
|
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/setting_aggregated_search"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/aggregatedSearchText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
tools:text="開" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |