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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    tools:context="cn.flightfeather.thirdappmodule.fragment.SettingFragment">
 
    <RelativeLayout
        android:id="@+id/rl_container1"
        android:layout_width="match_parent"
        android:layout_height="150dp"
        android:background="@drawable/bg_settings">
 
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginTop="14dp"
            android:text="设置"
            android:textColor="@android:color/white"
            android:textSize="@dimen/textSize_18" />
 
        <TextView
            android:id="@+id/text_version"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="版本 V1.1.7"
            android:textSize="@dimen/textSize_notes"
            android:textColor="@color/white"
            android:layout_alignParentEnd="true"
            android:layout_alignParentBottom="true"
            android:layout_marginEnd="16dp"
            android:layout_marginBottom="@dimen/dimen8"/>
 
        <LinearLayout
            android:id="@+id/ll_container_usericon"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="38dp"
            android:orientation="vertical">
 
            <de.hdodenhof.circleimageview.CircleImageView
                android:layout_width="60dp"
                android:layout_height="60dp"
                android:src="@drawable/ic_user_competent"
                android:layout_gravity="center"/>
 
            <TextView
                android:id="@+id/tv_user_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:layout_marginTop="5dp"
                android:text="xxxxxxxxxxxxxxx"
                android:textColor="@color/white" />
        </LinearLayout>
    </RelativeLayout>
 
 
    <ScrollView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="#dddd"
        android:layout_marginTop="@dimen/dimen8"
        android:layout_below="@id/rl_container1"
        android:layout_alignParentStart="true">
 
        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content">
 
            <LinearLayout
                android:id="@+id/ll_container2"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@color/white"
                android:orientation="vertical">
 
                <cn.flightfeather.thirdappmodule.view.SettingCommItemView
                    android:id="@+id/sc_edit_password"
                    style="@style/settingItemStyle"
                    app:img_src="@drawable/icon_change_password"
                    app:is_divider_visibility="true"
                    app:item_text="修改密码" />
 
                <cn.flightfeather.thirdappmodule.view.SettingCommItemView
                    android:id="@+id/sc_logout"
                    style="@style/settingItemStyle"
                    app:img_src="@drawable/icon_logout"
                    app:is_divider_visibility="false"
                    app:item_text="退出登录" />
            </LinearLayout>
 
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_below="@id/ll_container2"
                android:layout_marginTop="8dp"
                android:background="@color/white"
                android:orientation="vertical">
 
                <cn.flightfeather.thirdappmodule.view.SettingCommItemView
                    android:id="@+id/contactcompany"
                    style="@style/settingItemStyle"
                    app:img_src="@drawable/contactcompany"
                    app:is_divider_visibility="true"
                    app:item_text="Debug功能"
                    android:visibility="gone"/>
 
                <cn.flightfeather.thirdappmodule.view.SettingCommItemView
                    android:id="@+id/advise"
                    style="@style/settingItemStyle"
                    app:img_src="@drawable/icon_logout"
                    app:is_divider_visibility="true"
                    app:item_text="建议木箱"
                    android:visibility="gone"/>
 
                <cn.flightfeather.thirdappmodule.view.SettingCommItemView
                    android:id="@+id/comment"
                    style="@style/settingItemStyle"
                    app:img_src="@drawable/icon_evaluate"
                    app:is_divider_visibility="true"
                    app:item_text="我要评价" />
 
                <cn.flightfeather.thirdappmodule.view.SettingCommItemView
                    android:id="@+id/joinus"
                    style="@style/settingItemStyle"
                    app:img_src="@drawable/icon_join_us"
                    app:is_divider_visibility="true"
                    app:item_text="加入我们" />
            </LinearLayout>
        </RelativeLayout>
    </ScrollView>
 
</RelativeLayout>