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.
604 lines
26 KiB
604 lines
26 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="@dimen/vs_20">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top|center_horizontal"
|
|
android:focusable="false"
|
|
android:focusableInTouchMode="false"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top|center_horizontal"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:focusable="false"
|
|
android:focusableInTouchMode="false"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llDebug"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_50"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="调试模式"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvDebugOpen"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="关"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llHomeApi"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_60"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="首页数据源"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvHomeApi"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="middle"
|
|
android:singleLine="true"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llApi"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_60"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="配置地址"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvApi"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="middle"
|
|
android:singleLine="true"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_60"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:focusable="false"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llHomeRec"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="@dimen/vs_5"
|
|
android:layout_marginRight="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="首页推荐"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvHomeRec"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llSearchView"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/vs_5"
|
|
android:layout_marginLeft="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="搜索展示"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvSearchView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_60"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:focusable="false"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llPlay"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="@dimen/vs_5"
|
|
android:layout_marginRight="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="播放器"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvPlay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llMediaCodec"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/vs_5"
|
|
android:layout_marginLeft="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="IJK解码方式"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvMediaCodec"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_60"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:focusable="false"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llRender"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="@dimen/vs_5"
|
|
android:layout_marginRight="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="渲染方式"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvRenderType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llScale"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/vs_5"
|
|
android:layout_marginLeft="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="画面缩放"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvScaleType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_60"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:focusable="false"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llParseWebVew"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginEnd="@dimen/vs_5"
|
|
android:layout_marginRight="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="嗅探Webview"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvParseWebView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="系统自带"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llDns"
|
|
android:layout_width="@dimen/vs_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/vs_5"
|
|
android:layout_marginLeft="@dimen/vs_5"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="安全DNS"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvDns"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llBackup"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_50"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="数据备份还原"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llAbout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/vs_50"
|
|
android:layout_marginBottom="@dimen/vs_10"
|
|
android:background="@drawable/shape_setting_model_focus"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/vs_20"
|
|
android:paddingRight="@dimen/vs_20">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="关于"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_24" />
|
|
|
|
<Space
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/vs_10"
|
|
android:layout_marginLeft="@dimen/vs_10"
|
|
android:text=">"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="@dimen/ts_30" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</FrameLayout> |