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.
592 lines
22 KiB
592 lines
22 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true"
|
|
android:keepScreenOn="true"
|
|
tools:ignore="NestedWeights">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="24dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/quality"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_quality"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/qualityText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="High" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/size"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
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="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/sizeText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="Medium" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/episode"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/player_episode"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/episodeText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="單列" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/speed"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
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="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/speedText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="x1" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/homeUI"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_home_ui"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/homeUIText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="簡潔風格" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/homeHistory"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/home_history"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/homeHistoryText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="開啟" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/display"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/play_display"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/homeButtons"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_home_buttons"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/fullscreenMenuKey"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_fullscreen_menu_key"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/fullscreenMenuKeyText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="控制栏" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/homeSiteLock"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_home_site_lock"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/homeSiteLockText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="開啟" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/smallWindowBackKey"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_small_window_back_key"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/smallWindowBackKeyText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="返回" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/incognito"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_incognito"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/incognitoText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="Off" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/homeMenuKey"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_home_menu_key"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/homeMenuKeyText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="切换站源" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/aggregatedSearch"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
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="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/aggregatedSearchText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="開" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/parseWebview"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_parse_webview"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/parseWebviewText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="System" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/setLanguage"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_language"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
<TextView
|
|
android:id="@+id/languageText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="中文" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/configCache"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_config_cache"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/configCacheText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="关闭" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/reset"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_reset"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView> |