|
@@ -0,0 +1,376 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout 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"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@color/white"
|
|
|
+ tools:context=".ui.me.VipCenterActivity">
|
|
|
+
|
|
|
+ <include layout="@layout/a_view_actionbar" />
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:fillViewport="true"
|
|
|
+ android:background="@mipmap/bg_vip_center"
|
|
|
+ android:overScrollMode="never">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="128dp"
|
|
|
+ android:layout_margin="15dp"
|
|
|
+ android:background="@drawable/shape_vip_center_bg_top">
|
|
|
+
|
|
|
+ <com.makeramen.roundedimageview.RoundedImageView
|
|
|
+ android:id="@+id/iv_avatar"
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:src="#333333"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:riv_oval="true" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_nickname"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:text="上山"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tv_user_account"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_vip_gradle"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:background="@drawable/shape_vip_gradle_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingStart="6dp"
|
|
|
+ android:paddingEnd="6dp"
|
|
|
+ android:text="vip1"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="10sp"
|
|
|
+
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/tv_nickname"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_nickname" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_user_account"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:text="账号:11244444"
|
|
|
+
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="13sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/iv_avatar"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_nickname"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_v"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="10dp"
|
|
|
+ android:src="@mipmap/img_v"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_buy_vip"
|
|
|
+ android:layout_width="176dp"
|
|
|
+ android:layout_height="32dp"
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
+ android:background="@drawable/shape_buy_vip"
|
|
|
+ android:gravity="center"
|
|
|
+
|
|
|
+ android:text="立即开通"
|
|
|
+ android:textColor="#812800"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ <TableLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+
|
|
|
+ android:background="@drawable/shape_bg_vip_bottom"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginTop="26dp"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:text="会员尊享11项特权"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TableRow
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:weightSum="4">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+
|
|
|
+ style="@style/vipPrerogativeStyle"
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_1"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="会员荣誉"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ style="@style/vipPrerogativeStyle"
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_2" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="昵称闪亮" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ style="@style/vipPrerogativeStyle"
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_3" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="等级加速"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ style="@style/vipPrerogativeStyle"
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_4" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="广告拦截" />
|
|
|
+ </LinearLayout>
|
|
|
+ </TableRow>
|
|
|
+ <View android:layout_width="match_parent"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:background="#999999"/>
|
|
|
+ <TableRow
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:weightSum="4">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_5"
|
|
|
+ style="@style/vipPrerogativeStyle"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="进群特效" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_6"
|
|
|
+ style="@style/vipPrerogativeStyle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="建群数量"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_7"
|
|
|
+ style="@style/vipPrerogativeStyle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="VIP高速通道"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_8"
|
|
|
+ style="@style/vipPrerogativeStyle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="5000人超级群呢"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </TableRow>
|
|
|
+ <View android:layout_width="match_parent"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:background="#999999"/>
|
|
|
+ <TableRow
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:weightSum="4">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_9"
|
|
|
+ style="@style/vipPrerogativeStyle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="提高好友上限"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_10"
|
|
|
+ style="@style/vipPrerogativeStyle"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="优先人工客服"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+
|
|
|
+ android:src="@mipmap/icon_vip_prerogative_b_11"
|
|
|
+ style="@style/vipPrerogativeStyle" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ style="@style/vipPrerogativeTextStyle"
|
|
|
+ android:text="每月赠送抽奖"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </TableRow>
|
|
|
+
|
|
|
+ </TableLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+
|
|
|
+</LinearLayout>
|