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.
428 lines
18 KiB
428 lines
18 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"
|
|
tools:ignore="NestedWeights">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="24dp">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/vod"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="0.3"
|
|
android:text="@string/setting_vod"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/vodUrl"
|
|
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:ignore="NestedWeights"
|
|
tools:text="https://" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/vodHome"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_setting_home" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/vodHistory"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_setting_history" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/live"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="0.3"
|
|
android:text="@string/setting_live"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/liveUrl"
|
|
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:ignore="NestedWeights"
|
|
tools:text="https://" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/liveHome"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_setting_home" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/liveHistory"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_setting_history" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/wall"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_weight="0.3"
|
|
android:text="@string/setting_wall"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/wallUrl"
|
|
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:ignore="NestedWeights"
|
|
tools:text="https://" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/wallDefault"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_setting_home" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/wallRefresh"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/selector_item"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_setting_refresh" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/player"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/setting_player"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/incognito"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
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" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
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" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/doh"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_doh"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/dohText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="Google" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/size"
|
|
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:nextFocusDown="@id/backup"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
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" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
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" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/backup"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/setting_backup"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/restore"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/setting_restore"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/cache"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_cache"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/cacheText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="1.0 MB" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/version"
|
|
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">
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="16dp"
|
|
android:text="@string/setting_version"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp" />
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/versionText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
tools:text="1.2.1" />
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.core.widget.NestedScrollView> |