Files
fuzhu/app/src/main/res/layout/activity_setting.xml
2021-11-16 11:22:26 +08:00

394 lines
15 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<data>
<import type="android.view.View" />
<variable
name="settingBean"
type="com.fisherbone.fuzhu.entity.SettingBean" />
</data>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.fisherbone.fuzhu.widget.TitleBar
android:id="@+id/title_bar"
android:layout_width="match_parent"
android:layout_height="48dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fff5f5f5"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/rl_switch"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="云端群控"
android:textColor="#ff000000"
android:textSize="16sp" />
<Switch
android:id="@+id/set_switch1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:layout_marginEnd="26dp"
android:layout_marginBottom="7dp"
android:switchMinWidth="20dp"
android:textOff="off"
android:textOn="on"
android:thumb="@drawable/thumb"
android:track="@drawable/track" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="8dp"
android:background="@color/txt_color" />
</LinearLayout>
<RelativeLayout
android:id="@+id/rl_env"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:id="@+id/tv_env"
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="获取当前手机的登录的抖音号"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_version"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:id="@+id/tv_version"
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="检查更新"
android:textColor="#ff000000"
android:textSize="14sp" />
<TextView
android:id="@+id/tv_vewsion"
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:layout_marginRight="60dp"
android:text="v.1.0"
android:textColor="#999999"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_aut"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:id="@+id/tv_aut"
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="激活授权"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_can"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:id="@+id/tv_can"
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="注销授权"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_openwuzhangai"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="打开辅助服务设置"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_openfuchuang"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="打开允许在其他应用上显示权限"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_openapp"
android:layout_width="match_parent"
android:layout_height="60dp"
android:visibility="gone"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="启动守护app"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_getdouyin"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="调试"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_jihuo"
android:layout_width="match_parent"
android:layout_height="60dp"
android:visibility="gone"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="激活"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_daoru"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="导入通讯录"
android:textColor="#ff000000"
android:textSize="14sp" />
<EditText
android:id="@+id/et_lianxiren"
android:layout_width="80dp"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:layout_marginBottom="7dp"
android:layout_toLeftOf="@+id/et_hongbao_05"
android:background="@null"
android:hint=""
android:inputType="number"
android:textColor="#ff3d3d3d"
android:textColorHint="#ffcccccc"
android:textSize="12sp" />
<TextView
android:id="@+id/et_hongbao_05"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:layout_marginEnd="60dp"
android:layout_marginBottom="7dp"
android:gravity="center"
android:hint="个"
android:inputType="number"
android:textColor="#ff3d3d3d"
android:textColorHint="#ffcccccc"
android:textSize="12sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_ceshi"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/white">
<TextView
android:layout_width="wrap_content"
android:layout_height="19dp"
android:layout_centerVertical="true"
android:layout_marginLeft="23dp"
android:text="测试"
android:textColor="#ff000000"
android:textSize="14sp" />
<ImageView style="@style/fragment_imag" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#F5F5F5" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</layout>