From fe04012057d024770e0180543483d393281a542f Mon Sep 17 00:00:00 2001 From: zhujie <leon.zhu@cloudroam.com.cn> Date: 星期四, 03 四月 2025 09:18:16 +0800 Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/FirstApp2 --- app/src/main/res/layout/item_card_single_month.xml | 68 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/app/src/main/res/layout/item_card_single_month.xml b/app/src/main/res/layout/item_card_single_month.xml new file mode 100644 index 0000000..739b66c --- /dev/null +++ b/app/src/main/res/layout/item_card_single_month.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="160dp" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:layout_marginRight="10dp" + android:background="@android:color/transparent" + app:cardBackgroundColor="@android:color/transparent" + app:cardElevation="0dp" + app:cardUseCompatPadding="false" + > + + <androidx.cardview.widget.CardView + android:id="@+id/vip_month_card_view" + android:layout_width="160dp" + android:layout_height="100dp" + android:padding="8dp" + android:layout_marginTop="10dp" + android:layout_marginEnd="20dp" + android:background="@android:color/transparent" + android:foreground="@drawable/gray_border_shape" + app:cardBackgroundColor="@android:color/transparent" + app:cardCornerRadius="16dp" + app:cardElevation="0dp" + app:cardUseCompatPadding="false"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginRight="20dp" + android:gravity="center" + android:orientation="vertical" + android:padding="5dp"> + + <TextView + android:id="@+id/single_month_title_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="1个月" + android:textColor="#F9EBC6" + android:textSize="18sp" /> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <TextView + android:id="@+id/single_month_price_tag" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="¥" + android:textColor="#F9EBC6" + android:textSize="20sp" /> + <TextView + android:id="@+id/single_month_price_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="15" + android:textColor="#F9EBC6" + android:textSize="30sp" /> + </LinearLayout> + + </LinearLayout> + </androidx.cardview.widget.CardView> +</androidx.cardview.widget.CardView> \ No newline at end of file -- Gitblit v1.9.3