pandorapan/live/src/main/res/layout/view_blind_box.xml

127 lines
4.8 KiB
XML
Raw Normal View History

2023-05-24 14:50:39 +08:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="159dp"
android:layout_height="110dp"
android:gravity="center_horizontal"
android:orientation="vertical">
<!--凤凰,龙,麒麟-->
<FrameLayout
android:id="@+id/frame_blind_top"
android:layout_width="match_parent"
android:layout_height="86.5dp"
2023-05-27 11:40:09 +08:00
android:background="@mipmap/bg_kirin">
2023-05-24 14:50:39 +08:00
2023-05-29 11:34:34 +08:00
<RelativeLayout
2023-05-24 14:50:39 +08:00
android:layout_width="29dp"
android:layout_height="29dp"
android:layout_marginStart="14dp"
2023-05-29 11:34:34 +08:00
android:layout_marginTop="51dp">
<com.opensource.svgaplayer.SVGAImageView
android:id="@+id/blind_svga"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.yunbao.common.views.weight.ClipPathCircleImage
android:id="@+id/icon_masking"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@mipmap/icon_masking" />
</RelativeLayout>
2023-05-24 14:50:39 +08:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="51dp"
android:layout_marginTop="59dp"
android:orientation="vertical">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ProgressBar
android:id="@+id/progress_blind3"
style="@android:style/Widget.ProgressBar.Horizontal"
2023-05-27 11:40:09 +08:00
android:layout_width="80dp"
android:layout_height="8dp"
2023-05-24 14:50:39 +08:00
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"
2023-05-27 11:40:09 +08:00
android:layout_width="80dp"
android:layout_height="8dp"
2023-05-24 14:50:39 +08:00
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"
2023-05-27 11:40:09 +08:00
android:layout_width="80dp"
android:layout_height="8dp"
2023-05-24 14:50:39 +08:00
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>
2023-05-27 11:40:09 +08:00
<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" />
2023-05-24 14:50:39 +08:00
<ImageView
android:layout_width="13dp"
android:layout_height="13dp"
android:layout_gravity="end"
2023-05-27 11:40:09 +08:00
android:layout_marginTop="40dp"
android:layout_marginEnd="15dp"
2023-05-24 14:50:39 +08:00
android:src="@mipmap/icon_what" />
</FrameLayout>
<FrameLayout
2023-05-27 11:40:09 +08:00
android:layout_width="149dp"
2023-05-24 14:50:39 +08:00
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"
2023-05-27 11:40:09 +08:00
android:layout_margin="5dp"
2023-05-24 14:50:39 +08:00
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
2023-05-27 11:40:09 +08:00
android:textColor="@color/white"
android:textSize="10sp" />
2023-05-24 14:50:39 +08:00
</FrameLayout>
</LinearLayout>