55 lines
1.9 KiB
XML
55 lines
1.9 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<FrameLayout 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:orientation="vertical">
|
||
|
|
||
|
|
||
|
<androidx.cardview.widget.CardView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="46dp"
|
||
|
app:cardBackgroundColor="#70323232"
|
||
|
app:cardCornerRadius="8dp"
|
||
|
app:cardElevation="0dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="58dp"
|
||
|
android:layout_height="16dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:paddingStart="5dp"
|
||
|
android:text="倒計時04:59"
|
||
|
android:visibility="gone"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="9sp" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="68dp"
|
||
|
android:layout_height="27dp"
|
||
|
android:gravity="center_vertical"
|
||
|
android:orientation="vertical"
|
||
|
android:paddingStart="6dp"
|
||
|
android:visibility="visible">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="10/200"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="9sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="待開紅包:4"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="9sp" />
|
||
|
</LinearLayout>
|
||
|
</androidx.cardview.widget.CardView>
|
||
|
|
||
|
<ImageView
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="51dp"
|
||
|
android:src="@mipmap/icon_red_packet" />
|
||
|
</FrameLayout>
|