<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout android:orientation="vertical"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:background="@color/bg_main"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:background="@color/white"
|
android:layout_marginTop="5dp"
|
android:layout_height="50dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:background="@color/white"
|
android:paddingEnd="14dp"
|
android:text="接受订单推送"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<com.xuexiang.xui.widget.button.switchbutton.SwitchButton
|
android:id="@+id/switchBtn"
|
android:layout_width="50dp"
|
android:layout_gravity="center_vertical"
|
android:layout_marginEnd="14dp"
|
app:swb_tintColor="#EE6408"
|
android:layout_height="30dp"/>
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_clear"
|
android:layout_width="match_parent"
|
android:background="@color/white"
|
android:layout_height="50dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:background="@color/white"
|
android:paddingEnd="14dp"
|
android:text="清除缓存"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_cache"
|
android:layout_width="wrap_content"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:background="@color/white"
|
android:drawablePadding="@dimen/dp_10"
|
android:paddingEnd="14dp"
|
android:alpha="0.4"
|
android:text="61.7M"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:background="@color/white"
|
android:layout_height="50dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:background="@color/white"
|
android:paddingEnd="14dp"
|
android:text="当前版本"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_version_code"
|
android:layout_width="wrap_content"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:background="@color/white"
|
android:drawablePadding="@dimen/dp_10"
|
android:paddingEnd="14dp"
|
android:alpha="0.4"
|
android:text="V1.0"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
|
|
<TextView
|
android:id="@+id/ll_version"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:background="@color/white"
|
android:paddingEnd="14dp"
|
android:drawableEnd="@mipmap/more_gray"
|
android:text="版本更新"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<RelativeLayout
|
android:id="@+id/rl_login_out"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
android:elevation="2dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:background="@color/white"
|
android:gravity="center"
|
android:text="退出登录"
|
android:textColor="#ff666666"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
</RelativeLayout>
|
|
|
|
|
</LinearLayout>
|