123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334 |
- <?xml version="1.0" encoding="utf-8"?>
- <layout 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" >
- <data >
- <variable
- name="vm"
- type="com.quansu.heifengwuliu.vmodel.MineVModel" />
- </data >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
- android:id="@+id/refresh_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <RelativeLayout
- android:id="@+id/lay_title"
- android:layout_width="match_parent"
- android:layout_height="@dimen/title_bar_height"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" >
- <TextView
- android:id="@+id/tv_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:layout_marginTop="20dp"
- android:text="个人中心"
- android:textColor="@color/text_title"
- android:textSize="@dimen/sp_16"
- android:textStyle="bold" />
- <ImageView
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:layout_alignParentEnd="true"
- android:layout_centerVertical="true"
- android:layout_marginEnd="@dimen/dp_10"
- android:src="@drawable/ic_to_wxchat" />
- </RelativeLayout >
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/lay_user_info"
- android:layout_width="match_parent"
- android:layout_height="106dp"
- android:paddingStart="@dimen/dp_10"
- android:paddingEnd="@dimen/dp_10"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/lay_title" >
- <com.qmuiteam.qmui.widget.QMUIRadiusImageView
- android:id="@+id/img_user_avater"
- android:layout_width="55dp"
- android:layout_height="55dp"
- android:src="@drawable/ic_math"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:qmui_is_circle="true" />
- <TextView
- android:id="@+id/tv_user_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/dp_10"
- android:layout_marginTop="10dp"
- app:layout_constraintStart_toEndOf="@id/img_user_avater"
- app:layout_constraintTop_toTopOf="@id/img_user_avater"
- tools:text="郑货主" />
- <TextView
- android:id="@+id/tv_user_mobile"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/dp_10"
- android:layout_marginBottom="10dp"
- app:layout_constraintBottom_toBottomOf="@id/img_user_avater"
- app:layout_constraintStart_toEndOf="@id/img_user_avater"
- tools:text="18353965350" />
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
- android:layout_width="72dp"
- android:layout_height="30dp"
- android:layout_marginEnd="@dimen/dp_10"
- android:text="未认证"
- android:textColor="#459AEA"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:qmui_backgroundColor="#E8F1FB"
- app:qmui_borderColor="#459AEA"
- app:qmui_radius="@dimen/dp_4" />
- </androidx.constraintlayout.widget.ConstraintLayout >
- <com.qmuiteam.qmui.layout.QMUILinearLayout
- android:id="@+id/ll_center"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="10dp"
- android:layout_marginTop="@dimen/dp_20"
- android:layout_marginEnd="10dp"
- android:background="@color/white"
- android:orientation="horizontal"
- android:paddingTop="15dp"
- android:paddingBottom="20dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/lay_user_info" >
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical" >
- <ImageView
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:src="@drawable/ic_math" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:text="@string/my_account" />
- </LinearLayout >
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical" >
- <ImageView
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:src="@drawable/ic_math" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:text="@string/my_collection" />
- </LinearLayout >
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical" >
- <ImageView
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:src="@drawable/ic_math" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:text="@string/invoice_manage" />
- </LinearLayout >
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:orientation="vertical" >
- <ImageView
- android:layout_width="50dp"
- android:layout_height="50dp"
- android:src="@drawable/ic_math" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="6dp"
- android:text="@string/connect_service" />
- </LinearLayout >
- </com.qmuiteam.qmui.layout.QMUILinearLayout >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:orientation="vertical"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/ll_center" >
- <LinearLayout
- style="@style/mine_list"
- android:layout_marginTop="4dp" >
- <ImageView
- style="@style/mine_img"
- android:layout_width="wrap_content"
- android:src="@drawable/mine_update" />
- <TextView
- style="@style/mine_text"
- android:text="我的评价" />
- <ImageView
- style="@style/mine_arrow_right"
- android:src="@drawable/mine_right" />
- </LinearLayout >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#DDDDDD"
- android:visibility="visible" >
- </View >
- <LinearLayout style="@style/mine_list" >
- <ImageView
- style="@style/mine_img"
- android:layout_width="wrap_content"
- android:src="@drawable/mine_update" />
- <TextView
- style="@style/mine_text"
- android:text="地址薄" />
- <ImageView
- style="@style/mine_arrow_right"
- android:src="@drawable/mine_right" />
- </LinearLayout >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#DDDDDD"
- android:visibility="visible" >
- </View >
- <LinearLayout style="@style/mine_list" >
- <ImageView
- style="@style/mine_img"
- android:layout_width="wrap_content"
- android:src="@drawable/mine_update" />
- <TextView
- style="@style/mine_text"
- android:text="设置" />
- <ImageView
- style="@style/mine_arrow_right"
- android:src="@drawable/mine_right" />
- </LinearLayout >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#DDDDDD"
- android:visibility="visible" >
- </View >
- <LinearLayout
- style="@style/mine_list"
- android:onClick="@{v->vm.checkUpdates()}" >
- <ImageView
- style="@style/mine_img"
- android:layout_width="wrap_content"
- android:src="@drawable/mine_update" />
- <TextView
- style="@style/mine_text"
- android:text="检查更新" />
- <ImageView
- style="@style/mine_arrow_right"
- android:src="@drawable/mine_right" />
- </LinearLayout >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#DDDDDD"
- android:visibility="visible" />
- </LinearLayout >
- <TextView
- style="@style/mine_text"
- android:layout_gravity="center"
- android:layout_marginBottom="@dimen/dp_40"
- android:onClick="@{v->vm.callPhone()}"
- android:text="平台联系方式:1835397689"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
- </androidx.constraintlayout.widget.ConstraintLayout >
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout >
- </LinearLayout >
- </layout >
|