<?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"
|
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_company"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_safety"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="企业认证" />
|
|
<TextView
|
android:id="@+id/tv_card"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/icon_me_card"
|
android:layout_marginStart="10dp"
|
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_order_check"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/ic_shenhe"
|
android:layout_marginStart="11dp"
|
style="@style/style_form_text_mine"
|
android:text="订单审核" />
|
|
<TextView
|
android:id="@+id/tv_close_account"
|
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_invoice"
|
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_join"
|
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="入驻成为商家" />
|
|
<FrameLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_comment"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/comment"
|
android:layout_marginStart="11dp"
|
android:paddingEnd="60dp"
|
style="@style/style_form_text_mine"
|
android:text="我的评论" />
|
<TextView
|
android:layout_width="15dp"
|
android:layout_height="15dp"
|
android:id="@+id/tv_unread"
|
android:layout_gravity="end"
|
android:layout_marginTop="10dp"
|
android:textColor="@color/white"
|
android:gravity="center"
|
android:layout_marginEnd="40dp"
|
android:text="99+"
|
android:textSize="8sp"
|
android:visibility="gone"
|
android:background="@drawable/bg_red_circle"/>
|
</FrameLayout>
|
|
<FrameLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_my_publish"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:drawableStart="@mipmap/fabu"
|
android:layout_marginStart="11dp"
|
android:paddingEnd="60dp"
|
style="@style/style_form_text_mine"
|
android:text="我发布的" />
|
<View
|
android:layout_width="5dp"
|
android:layout_height="5dp"
|
android:id="@+id/iv_unread_p"
|
android:layout_gravity="end"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="55dp"
|
android:textColor="@color/white"
|
android:visibility="gone"
|
android:background="@drawable/bg_red_circle"/>
|
</FrameLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_safe"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:drawableTop="@mipmap/icon_me_safety"
|
android:gravity="center"
|
style="@style/style_form_text_mine"
|
android:text="安全" />
|
|
|
<TextView
|
android:id="@+id/tv_feed_back"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:layout_height="wrap_content"
|
android:drawableTop="@mipmap/icon_me_edit"
|
style="@style/style_form_text_mine"
|
android:text="意见反馈" />
|
|
|
<TextView
|
android:id="@+id/tv_service"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:drawableTop="@mipmap/icon_me_service"
|
style="@style/style_form_text_mine"
|
android:gravity="center"
|
android:text="客服" />
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_setting"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:drawableTop="@mipmap/icon_me_set"
|
android:gravity="center"
|
style="@style/style_form_text_mine"
|
android:text="设置" />
|
|
|
<TextView
|
android:id="@+id/tv_share"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:layout_height="wrap_content"
|
android:drawableTop="@mipmap/icon_me_share"
|
style="@style/style_form_text_mine"
|
android:text="分享" />
|
|
<Space
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
</LinearLayout>
|
</ScrollView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|