<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
tools:ignore="MissingConstraints"
|
android:background="@color/white"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<com.runt.open.mvvm.widgets.TitleBarView
|
android:id="@+id/title_bar"
|
style="@style/titlebar"
|
app:titleText="设置"
|
app:leftDrawable="@mipmap/icon_white_back"
|
app:leftTint="@color/black"/>
|
|
<TextView
|
android:id="@+id/version"
|
app:layout_constraintTop_toBottomOf="@id/title_bar"
|
android:text="@string/str_version"
|
style="@style/lin_txt" />
|
<TextView
|
android:id="@+id/about"
|
app:layout_constraintTop_toBottomOf="@id/version"
|
style="@style/lin_txt"
|
android:drawableRight="@mipmap/arrow_right"
|
android:text="关于我们" />
|
<View
|
app:layout_constraintTop_toBottomOf="@id/title_bar"
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:background="@color/color_gray8" />
|
<View
|
app:layout_constraintTop_toBottomOf="@id/version"
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:background="@color/color_gray8" />
|
<View
|
app:layout_constraintTop_toBottomOf="@id/about"
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:background="@color/color_gray8" />
|
|
<View
|
app:layout_constraintBottom_toTopOf="@id/logout"
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="@color/color_gray8" />
|
<TextView
|
android:id="@+id/logout"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
android:background="@drawable/bg_white"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:text="@string/logout"
|
android:textColor="@color/txt_color"
|
android:textSize="@dimen/title_size"
|
android:padding="15dp" />
|
</androidx.constraintlayout.widget.ConstraintLayout>
|