mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-28 07:06:29 +08:00
108 lines
4.5 KiB
XML
108 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/setting"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:id="@+id/content"
|
|
android:layout_width="300dp"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingTop="20dp"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:background="@drawable/rounded_dark_left"
|
|
>
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/app_name"
|
|
android:textSize="16sp" />
|
|
<TextView
|
|
android:id="@+id/version"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="当前版本: $versionName\n获取最新: https://github.com/lizongying/my-tv/releases/"
|
|
android:textSize="14sp"
|
|
/>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
>
|
|
<Button
|
|
android:id="@+id/check_version"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:text="@string/check_version"
|
|
/>
|
|
<ProgressBar
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/version_name"
|
|
android:text=""
|
|
android:textSize="14sp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<Button
|
|
android:id="@+id/exit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:text="@string/exit"
|
|
/>
|
|
<Switch
|
|
android:id="@+id/switch_channel_reversal"
|
|
android:text="@string/title_channel_reversal"
|
|
android:textSize="14sp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<Switch
|
|
android:id="@+id/switch_channel_num"
|
|
android:text="@string/title_channel_num"
|
|
android:textSize="14sp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<Switch
|
|
android:id="@+id/switch_time"
|
|
android:text="@string/title_time"
|
|
android:textSize="14sp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<Switch
|
|
android:id="@+id/switch_boot_startup"
|
|
android:text="@string/title_boot_startup"
|
|
android:textSize="14sp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
<Switch
|
|
android:id="@+id/switch_grid"
|
|
android:text="@string/title_grid"
|
|
android:textSize="14sp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<ImageView
|
|
android:id="@+id/appreciate"
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/appreciate"
|
|
android:background="@drawable/rounded_white_right" />
|
|
</LinearLayout>
|
|
</FrameLayout> |