| | |
| | | android:layout_height="32dp" |
| | | android:scaleType="centerCrop" /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="25dp" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal"> |
| | | |
| | | <View |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv_setting" |
| | | android:layout_width="28dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginEnd="8dp" |
| | | android:contentDescription="设置" |
| | | android:src="@mipmap/setting" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <!-- 用户信息区域 - 减小padding --> |
| | | <RelativeLayout |
| | | android:id="@+id/layout_user_info" |
| | |
| | | android:layout_height="50dp" |
| | | android:scaleType="centerCrop" |
| | | app:shapeAppearanceOverlay="@style/CircleImageView" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/iv_vip" |
| | | android:layout_width="24dp" |
| | | android:layout_height="24dp" |
| | | android:layout_alignBottom="@id/tv_nickname" |
| | | android:layout_marginStart="8dp" |
| | | android:layout_toEndOf="@id/tv_nickname" |
| | | android:contentDescription="VIP标识" |
| | | android:src="@drawable/me_vip" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_nickname" |
| | |
| | | app:cardElevation="4dp"> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/linearVipContainer" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:background="@android:color/black" |
| | |
| | | android:layout_weight="1" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | <!-- 第一行:VIP标题 + 有效期 --> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:text="VIP会员" |
| | | android:textColor="#B8741A" |
| | | android:textSize="18sp" |
| | | android:textStyle="bold" /> |
| | | android:orientation="horizontal" |
| | | android:gravity="center_vertical"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="VIP会员" |
| | | android:textColor="#B8741A" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold"/> |
| | | |
| | | <!-- 添加间隔 --> |
| | | <View |
| | | android:layout_width="6dp" |
| | | android:layout_height="0dp"/> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_vip_expire" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:singleLine="true" |
| | | android:ellipsize="end" |
| | | android:textColor="#F2F2F2" |
| | | android:textSize="12sp" |
| | | android:clickable="true" |
| | | android:focusable="true" |
| | | android:background="?attr/selectableItemBackground"/> |
| | | </LinearLayout> |
| | | |
| | | <!-- 第二行:续费提示(上移调整) --> |
| | | <TextView |
| | | android:id="@+id/tv_vip_expire" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="4dp" |
| | | android:textColor="#FFD700" |
| | | android:textSize="14sp" /> |
| | | android:text="续费畅享更多会员权益" |
| | | android:textColor="#F0DCBF" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold"/> |
| | | </LinearLayout> |
| | | |
| | | <Button |
| | |
| | | android:layout_height="wrap_content" |
| | | android:backgroundTint="#7A441E" |
| | | android:text="立即续费" |
| | | android:textColor="#FFFFFF" /> |
| | | android:textColor="#F0DCBF" /> |
| | | </LinearLayout> |
| | | </androidx.cardview.widget.CardView> |
| | | |
| | |
| | | android:paddingHorizontal="8dp" |
| | | android:paddingVertical="4dp"> |
| | | |
| | | <!-- <!– 会员 –>--> |
| | | <!-- <RelativeLayout--> |
| | | <!-- android:id="@+id/memberVip"--> |
| | | <!-- style="@style/PluginPay"--> |
| | | <!-- android:padding="16dp">--> |
| | | |
| | | <!-- <TextView--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_centerVertical="true"--> |
| | | <!-- android:text="会员"--> |
| | | <!-- android:textColor="@android:color/black"--> |
| | | <!-- android:textSize="16sp" />--> |
| | | |
| | | <!-- <ImageView--> |
| | | <!-- android:layout_width="24dp"--> |
| | | <!-- android:layout_height="24dp"--> |
| | | <!-- android:layout_alignParentEnd="true"--> |
| | | <!-- android:layout_centerVertical="true"--> |
| | | <!-- android:src="@drawable/right_forward" />--> |
| | | <!-- </RelativeLayout>--> |
| | | |
| | | <!-- <!– 支付 –>--> |
| | | <!-- <RelativeLayout--> |
| | | <!-- android:id="@+id/payPlugin"--> |
| | | <!-- style="@style/PluginPay"--> |
| | | <!-- android:padding="16dp">--> |
| | | |
| | | <!-- <TextView--> |
| | | <!-- android:layout_width="wrap_content"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_centerVertical="true"--> |
| | | <!-- android:text="支付"--> |
| | | <!-- android:textColor="@android:color/black"--> |
| | | <!-- android:textSize="16sp" />--> |
| | | |
| | | <!-- <ImageView--> |
| | | <!-- android:layout_width="24dp"--> |
| | | <!-- android:layout_height="24dp"--> |
| | | <!-- android:layout_alignParentEnd="true"--> |
| | | <!-- android:layout_centerVertical="true"--> |
| | | <!-- android:src="@drawable/right_forward" />--> |
| | | <!-- </RelativeLayout>--> |
| | | |
| | | <!-- 设置提醒 --> |
| | | <LinearLayout |
| | | android:id="@+id/layout_reminder" |