<?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"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:background="@color/white"
|
android:clickable="true"
|
android:orientation="vertical"
|
android:focusable="true">
|
|
<FrameLayout
|
android:layout_width="@dimen/dp_60"
|
android:layout_height="@dimen/dp_60"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:id="@+id/bg"
|
android:background="@drawable/bg_white_30dp"
|
android:elevation="2dp"
|
android:layout_marginTop="30dp">
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/iv_header_home"
|
android:layout_width="@dimen/dp_58"
|
android:layout_height="@dimen/dp_58"
|
app:actualImageScaleType="centerCrop"
|
app:placeholderImage="@mipmap/icon_logo"
|
android:layout_gravity="center"
|
app:placeholderImageScaleType="centerCrop"
|
app:roundAsCircle="true" />
|
|
</FrameLayout>
|
|
|
<TextView
|
android:id="@+id/tv_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="8dp"
|
android:textSize="@dimen/textSize_16"
|
android:textColor="@color/textColor"
|
app:layout_constraintStart_toStartOf="parent"
|
android:text="ok用户"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/bg"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_score"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/tv_name"
|
android:textSize="@dimen/sp_11"
|
android:textColor="@color/textColor"
|
android:padding="4dp"
|
android:text="当前积分0" />
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toBottomOf="@id/tv_score"
|
app:layout_constraintBottom_toBottomOf="parent">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_order"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_order"
|
android:layout_marginStart="12dp"
|
style="@style/style_form_text_mine"
|
android:text="我的订单" />
|
|
<TextView
|
android:id="@+id/tv_coupon"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_coupons"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="优惠券" />
|
|
<TextView
|
android:id="@+id/tv_safe"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_safety"
|
android:layout_marginStart="12dp"
|
style="@style/style_form_text_mine"
|
android:text="安全" />
|
|
<TextView
|
android:id="@+id/tv_wallet"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_wallet"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="钱包" />
|
|
<TextView
|
android:id="@+id/tv_passenger"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/ic_passenger"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="常用乘车人" />
|
|
<TextView
|
android:id="@+id/tv_invoice"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_invoice"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="开发票" />
|
|
<TextView
|
android:id="@+id/tv_feed_back"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_opinion"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="意见反馈" />
|
|
<TextView
|
android:id="@+id/tv_service"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_service"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="客服" />
|
|
<TextView
|
android:id="@+id/tv_setting"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_set"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="设置" />
|
|
<TextView
|
android:id="@+id/tv_share"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_share"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="分享" />
|
</LinearLayout>
|
</ScrollView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|