Runt
2022-08-17 2a320dc04d6deb22116ebfd302d6f898a15f23af
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?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>