957 lines
44 KiB
XML
957 lines
44 KiB
XML
<?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">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:overScrollMode="never"
|
|
android:background="@mipmap/home_bj">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingBottom="@dimen/dp_60"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_48"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:layout_marginRight="@dimen/dp_11"
|
|
android:src="@drawable/image_yq"/>
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:layout_marginRight="@dimen/dp_11"
|
|
android:src="@drawable/custom"/>
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:layout_marginRight="@dimen/dp_11"
|
|
android:src="@mipmap/setting"/>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/me_linearlayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/me_linearlayout2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_76"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="@dimen/dp_60"
|
|
android:paddingStart="@dimen/dp_16"
|
|
android:layout_weight="1"
|
|
android:gravity="center|left"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.xscm.moduleutil.utils.MeHeadView
|
|
android:id="@+id/riv_user_head"
|
|
android:layout_width="@dimen/dp_76"
|
|
android:layout_height="@dimen/dp_76"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:riv_oval="true"/>
|
|
|
|
<com.xscm.moduleutil.widget.ShineTextView
|
|
android:id="@+id/tv_nick_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="@dimen/sp_16"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:textColor="@color/white"
|
|
app:isShine="false"
|
|
app:layout_constraintStart_toEndOf="@+id/riv_user_head"
|
|
app:layout_constraintTop_toTopOf="@+id/riv_user_head"
|
|
android:layout_marginStart="@dimen/dp_14"
|
|
tools:text="用户22333333"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#fff"
|
|
android:textSize="@dimen/sp_16"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
app:layout_constraintStart_toEndOf="@+id/riv_user_head"
|
|
app:layout_constraintTop_toTopOf="@+id/riv_user_head"
|
|
android:layout_marginStart="@dimen/dp_14"
|
|
tools:text="用户22333333"/>
|
|
|
|
<TextView
|
|
android:id="@+id/beautiful_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/color_FFFFFFE0"
|
|
android:textSize="@dimen/sp_12"
|
|
app:layout_constraintStart_toStartOf="@+id/tv_nick_name"
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_nick_name"
|
|
tools:text="22222"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_copy"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="5dp"
|
|
android:background="@mipmap/copy"
|
|
android:textColor="@color/color_666666"
|
|
app:layout_constraintStart_toEndOf="@+id/beautiful_view"
|
|
app:layout_constraintTop_toTopOf="@+id/beautiful_view"
|
|
android:textSize="12sp"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/im_beautiful"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_11"
|
|
android:layout_marginLeft="5dp"
|
|
app:layout_constraintStart_toEndOf="@+id/tv_copy"
|
|
app:layout_constraintTop_toTopOf="@+id/tv_copy"
|
|
android:scaleType="fitCenter"
|
|
android:src="@mipmap/beautiful"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_image_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="@dimen/dp_4"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/beautiful_view"
|
|
app:layout_constraintStart_toStartOf="@+id/beautiful_view"
|
|
/>
|
|
|
|
<ImageView
|
|
android:id="@+id/tv_home"
|
|
android:layout_width="@dimen/dp_60"
|
|
android:layout_height="@dimen/dp_33"
|
|
android:src="@mipmap/me_edit"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:scaleType="fitCenter"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/me_linearlayout3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_16"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/me_linearlayout2">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_follow"
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:layout_gravity="center|center_horizontal|center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_follow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:text="0"
|
|
android:fontFamily="@font/semibold"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_22"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_1"
|
|
android:text="关注"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="@dimen/dp_1"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="#444541"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_fans"
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_fans"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:fontFamily="@font/semibold"
|
|
android:text="0"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_22"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_1"
|
|
android:text="粉丝"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="@dimen/dp_1"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="#444541"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_friends"
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_friends"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:text="0"
|
|
android:fontFamily="@font/semibold"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_22"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_1"
|
|
android:text="访客"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="@dimen/dp_1"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@color/white"
|
|
android:visibility="gone"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_visit"
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_visit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:text="0"
|
|
android:textColor="@color/color_FF333333"
|
|
android:textSize="@dimen/sp_20"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_1"
|
|
android:text="访客"
|
|
android:textColor="@color/color_666666"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/cl_noble_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_marginEnd="@dimen/dp_15"
|
|
android:layout_marginStart="@dimen/dp_15"
|
|
android:layout_marginTop="@dimen/dp_20">
|
|
|
|
<ImageView
|
|
android:id="@+id/im_noblesse"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:src="@mipmap/my_noblesse"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="更多"
|
|
android:gravity="center"
|
|
android:drawableRight="@mipmap/arrow_right"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="@id/im_noblesse"
|
|
android:layout_marginEnd="@dimen/dp_15"
|
|
android:textColor="#EECE72"
|
|
android:textSize="@dimen/sp_14"/>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
app:cardBackgroundColor="#231F2C"
|
|
app:cardCornerRadius="@dimen/dp_8">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="@dimen/dp_16"
|
|
android:paddingBottom="@dimen/dp_12"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_recharge"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:background="@color/transparent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_40"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:src="@mipmap/me_recharge"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="充值"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_my_shopping"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:background="@color/transparent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_40"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:src="@mipmap/me_show_store"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="商城"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_me_guild"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:background="@color/transparent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_40"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:src="@mipmap/me_gh"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="公会"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_me_zy"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:visibility="gone"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:background="@color/transparent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_40"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:src="@mipmap/me_zy"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="挚友"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/im_my_room"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:background="@color/transparent"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_40"
|
|
android:layout_height="@dimen/dp_40"
|
|
android:src="@mipmap/me_home"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="房间"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- 空余的防骗指南-->
|
|
|
|
<com.stx.xhb.xbanner.XBanner
|
|
android:id="@+id/banner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_64"
|
|
app:AutoPlayTime="3000"
|
|
android:layout_marginHorizontal="@dimen/dp_16"
|
|
app:isAutoPlay="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/rl"
|
|
app:pointsVisibility="false"/>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
app:cardBackgroundColor="#231F2C"
|
|
app:cardCornerRadius="@dimen/dp_8">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingStart="@dimen/dp_16"
|
|
android:paddingBottom="@dimen/dp_12"
|
|
android:paddingEnd="@dimen/dp_16"
|
|
>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="我的钱包"
|
|
android:textColor="#929196"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:textSize="@dimen/sp_14"/>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_8"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/tv_my_wallet"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_60"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_marginEnd="@dimen/dp_8"
|
|
android:background="@drawable/bg_me_wallet"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="0.00"
|
|
android:fontFamily="@font/semibold"
|
|
android:textColor="#222222"
|
|
android:textSize="@dimen/sp_20"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="@string/wallet"
|
|
android:textColor="#333"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_gift_wall"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_60"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_marginStart="@dimen/dp_8"
|
|
android:background="@drawable/bg_me_gift_wall"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="礼物墙"
|
|
android:fontFamily="@font/semibold"
|
|
android:textColor="#222222"
|
|
android:textSize="@dimen/sp_20"/>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
app:cardBackgroundColor="#231F2C"
|
|
app:cardCornerRadius="@dimen/dp_8">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingStart="@dimen/dp_16"
|
|
android:paddingBottom="@dimen/dp_12"
|
|
android:paddingEnd="@dimen/dp_16"
|
|
>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="常用服务"
|
|
android:textColor="#929196"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:textSize="@dimen/sp_14"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/me_my_dan"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/my_dan"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="@string/dan"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/me_dress_up"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/personality"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="@string/dressup"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/tv_my_bb"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/me_my_bag"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="@string/backpack"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/iv_sz"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/me_setting"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="@string/setting_name"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/dp_16"
|
|
android:layout_marginEnd="@dimen/dp_16"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
app:cardBackgroundColor="#231F2C"
|
|
app:cardCornerRadius="@dimen/dp_8">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingStart="@dimen/dp_16"
|
|
android:paddingBottom="@dimen/dp_12"
|
|
android:paddingEnd="@dimen/dp_16">
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="更多"
|
|
android:textColor="#929196"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:textSize="@dimen/sp_14"/>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_me_help"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/me_help"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="帮助中心"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/iv_hb"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/me_invitation"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="邀请"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/me_daily"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/me_test"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="@string/daily"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/iv_fk"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:visibility="invisible">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/me_opinion"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="意见反馈"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
|
|
android:layout_marginTop="@dimen/dp_15"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_me_income"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_46"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/me_income"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/dp_17"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:text="个税客服"
|
|
android:textColor="#CCCDC8"
|
|
android:textSize="@dimen/sp_12"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_44"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<!-- <ImageView-->
|
|
<!-- android:layout_width="@dimen/dp_20"-->
|
|
<!-- android:layout_height="@dimen/dp_20"-->
|
|
<!-- android:src="@mipmap/me_my_bag"/>-->
|
|
|
|
<!-- <TextView-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="@dimen/dp_17"-->
|
|
<!-- android:layout_marginTop="@dimen/dp_3"-->
|
|
<!-- android:text="@string/backpack"-->
|
|
<!-- android:textColor="@color/color_FF333333"-->
|
|
<!-- android:textSize="@dimen/sp_12"/>-->
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_44"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</layout> |