<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:layout_alignParentEnd="true"
|
android:layout_alignParentBottom="true"
|
android:layout_marginEnd="16dp"
|
android:layout_marginBottom="@dimen/dimen8"
|
android:text="版本 V1.1.7"
|
android:textColor="@color/white"
|
android:textSize="@dimen/textSize_notes" />
|
|
<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>
|