204 lines
8.9 KiB
XML
Executable File
204 lines
8.9 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical"
|
|
tools:context=".activity.SettingActivity">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
app:cardCornerRadius="5dp"
|
|
app:cardElevation="3dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_change_phone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="8dp">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_user_couant" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="个人信息"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
app:cardCornerRadius="5dp"
|
|
app:cardElevation="3dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_reset_phone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="8dp">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_change_phone" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="重新绑定手机"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:visibility="gone"
|
|
app:cardCornerRadius="5dp"
|
|
app:cardElevation="3dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_change_pwd"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="8dp">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_change_pwd" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="修改密码"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:visibility="gone"
|
|
app:cardCornerRadius="5dp"
|
|
app:cardElevation="3dp">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_clear"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="8dp">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_clear_cache" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="清除缓存"
|
|
android:textSize="15sp" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
app:cardCornerRadius="5dp"
|
|
app:cardElevation="3dp">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/ll_check_update"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:padding="8dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_ic"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:src="@drawable/ic_check_update" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_toRightOf="@id/iv_ic"
|
|
android:text="检查更新"
|
|
android:textSize="15sp" />
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_version"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="v1.2.2"
|
|
android:textSize="15sp" />
|
|
</RelativeLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_login_out"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:background="@drawable/sel_btn_activity_sign_up"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="center"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp"
|
|
android:text="退出登录"
|
|
android:textColor="@color/col_verify_text"
|
|
android:textSize="18sp" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</LinearLayout> |