2023-05-24 14:50:39 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-05-31 13:22:14 +08:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="170dp"
|
|
|
|
android:layout_height="110dp">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="159dp"
|
|
|
|
android:layout_height="match_parent"
|
2023-06-01 10:26:08 +08:00
|
|
|
android:layout_gravity="end"
|
2023-05-31 13:22:14 +08:00
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical">
|
|
|
|
<!--凤凰,龙,麒麟-->
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/frame_blind_top"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="86.5dp"
|
|
|
|
android:background="@mipmap/bg_kirin">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
2023-05-24 14:50:39 +08:00
|
|
|
android:layout_width="wrap_content"
|
2023-05-31 13:22:14 +08:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="51dp"
|
|
|
|
android:layout_marginTop="59dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<FrameLayout
|
2023-05-24 14:50:39 +08:00
|
|
|
android:layout_width="wrap_content"
|
2023-05-31 13:22:14 +08:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_blind3"
|
|
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
|
|
android:layout_width="80dp"
|
|
|
|
android:layout_height="8dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:max="100"
|
|
|
|
android:progress="30"
|
|
|
|
android:progressDrawable="@drawable/bg_blind_progres"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_blind1"
|
|
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
|
|
android:layout_width="80dp"
|
|
|
|
android:layout_height="8dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:max="100"
|
|
|
|
android:progress="50"
|
|
|
|
android:progressDrawable="@drawable/bg_blind_progress"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_blind2"
|
|
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
|
|
android:layout_width="80dp"
|
|
|
|
android:layout_height="8dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:max="100"
|
|
|
|
android:progress="50"
|
|
|
|
android:progressDrawable="@drawable/bg_blind_progress1"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_blind_progress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textSize="6sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/blind_number"
|
|
|
|
android:layout_width="90dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="47dp"
|
|
|
|
android:layout_marginTop="71dp"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="8sp" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/description"
|
|
|
|
android:layout_width="13dp"
|
|
|
|
android:layout_height="13dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:src="@mipmap/icon_what" />
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="149dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@mipmap/bg_blind_bottom">
|
|
|
|
|
|
|
|
<com.yunbao.common.views.weight.MarqueeTextView
|
|
|
|
android:id="@+id/text_blind_gift_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:gravity="center"
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="10sp" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2023-06-01 10:26:08 +08:00
|
|
|
<com.opensource.svgaplayer.SVGAImageView
|
|
|
|
android:id="@+id/blind_svga"
|
|
|
|
android:layout_width="71dp"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_height="71dp"
|
|
|
|
android:layout_marginTop="29dp" />
|
|
|
|
|
|
|
|
<RelativeLayout
|
2023-06-01 18:16:58 +08:00
|
|
|
android:layout_width="42dp"
|
|
|
|
android:layout_height="42dp"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginTop="43dp">
|
2023-06-01 10:26:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/icon_masking"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2023-06-01 18:16:58 +08:00
|
|
|
/>
|
2023-06-01 10:26:08 +08:00
|
|
|
</RelativeLayout>
|
|
|
|
|
2023-05-31 13:22:14 +08:00
|
|
|
<com.opensource.svgaplayer.SVGAImageView
|
|
|
|
android:id="@+id/blind_box_open"
|
|
|
|
android:layout_width="61dp"
|
|
|
|
android:layout_height="110dp"
|
2023-06-01 10:26:08 +08:00
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
android:layout_marginTop="2dp" />
|
2023-05-31 13:22:14 +08:00
|
|
|
</FrameLayout>
|