pdlivexp/common/src/main/res/layout/view_home_float_banner.xml

112 lines
3.9 KiB
XML
Raw Normal View History

2022-08-09 16:54:30 +08:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="123dp"
android:layout_height="35.33dp"
2022-08-09 19:56:22 +08:00
android:clickable="true"
android:focusable="true"
2022-08-09 16:54:30 +08:00
android:gravity="center_vertical">
<RelativeLayout
android:layout_width="123dp"
android:layout_height="35.33dp"
android:layout_alignParentEnd="true"
android:background="@drawable/background_new_home_folat_banner"
android:gravity="center_vertical"
android:paddingStart="7dp"
android:paddingTop="5dp"
android:paddingEnd="7dp"
android:paddingBottom="5dp" />
2022-08-10 16:44:30 +08:00
<RelativeLayout
2022-08-11 18:06:01 +08:00
android:id="@+id/banner_layout1"
2022-08-09 16:54:30 +08:00
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_centerVertical="true"
2022-08-11 18:06:01 +08:00
android:layout_marginStart="28dp"
android:background="@drawable/bg_white_clip"
2022-08-10 16:44:30 +08:00
android:gravity="center"
2022-08-10 17:28:48 +08:00
android:padding="1dp"
2022-08-09 19:56:22 +08:00
android:visibility="visible">
<com.yunbao.common.views.weight.ClipPathCircleImage
2022-08-11 18:06:01 +08:00
android:id="@+id/clip_image1"
2022-08-10 17:28:48 +08:00
android:layout_width="24dp"
2022-08-11 18:06:01 +08:00
android:layout_height="24dp"
android:layout_centerInParent="true"
2022-08-17 09:29:24 +08:00
android:scaleType="centerCrop"
2022-08-11 18:06:01 +08:00
android:layout_gravity="center" />
2022-08-10 16:44:30 +08:00
</RelativeLayout>
2022-08-09 19:56:22 +08:00
2022-08-10 16:44:30 +08:00
<RelativeLayout
2022-08-11 18:06:01 +08:00
android:id="@+id/banner_layout2"
2022-08-09 19:56:22 +08:00
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_centerVertical="true"
2022-08-11 18:06:01 +08:00
android:layout_marginStart="28dp"
android:background="@drawable/bg_white_clip"
android:gravity="center"
android:padding="1dp">
2022-08-09 19:56:22 +08:00
<com.yunbao.common.views.weight.ClipPathCircleImage
2022-08-11 18:06:01 +08:00
android:id="@+id/clip_image2"
2022-08-10 17:28:48 +08:00
android:layout_width="24dp"
2022-08-17 09:29:24 +08:00
android:scaleType="centerCrop"
2022-08-10 17:28:48 +08:00
android:layout_height="24dp"
2022-08-10 16:44:30 +08:00
android:layout_centerInParent="true"
2022-08-09 19:56:22 +08:00
android:layout_gravity="center" />
2022-08-10 16:44:30 +08:00
</RelativeLayout>
2022-08-09 19:56:22 +08:00
2022-08-10 16:44:30 +08:00
<RelativeLayout
2022-08-11 18:06:01 +08:00
android:id="@+id/banner_layout3"
android:layout_width="30dp"
android:layout_height="30dp"
2022-08-09 19:56:22 +08:00
android:layout_centerVertical="true"
2022-08-10 20:51:33 +08:00
android:layout_marginStart="10dp"
2022-08-09 19:56:22 +08:00
android:background="@drawable/bg_white_clip"
2022-08-11 18:06:01 +08:00
android:gravity="center"
android:padding="1dp"
2022-08-09 19:56:22 +08:00
android:visibility="visible">
<com.yunbao.common.views.weight.ClipPathCircleImage
2022-08-11 18:06:01 +08:00
android:id="@+id/clip_image3"
android:layout_width="29dp"
android:layout_height="29dp"
2022-08-17 09:29:24 +08:00
android:scaleType="centerCrop"
2022-08-10 16:44:30 +08:00
android:layout_centerInParent="true"
2022-08-09 19:56:22 +08:00
android:layout_gravity="center" />
2022-08-10 16:44:30 +08:00
</RelativeLayout>
2022-08-09 16:54:30 +08:00
2022-08-11 18:06:01 +08:00
<RelativeLayout
android:id="@+id/banner_layout4"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:layout_marginStart="10dp"
android:background="@drawable/bg_white_clip"
android:gravity="center"
android:padding="1dp"
2022-08-17 09:29:24 +08:00
2022-08-11 18:06:01 +08:00
android:visibility="visible">
<com.yunbao.common.views.weight.ClipPathCircleImage
android:id="@+id/clip_image4"
android:layout_width="29dp"
2022-08-17 09:29:24 +08:00
android:scaleType="centerCrop"
2022-08-11 18:06:01 +08:00
android:layout_height="29dp"
android:layout_centerInParent="true"
android:layout_gravity="center" />
</RelativeLayout>
2022-08-09 16:54:30 +08:00
<TextView
2022-08-09 19:56:22 +08:00
android:id="@+id/title"
2022-08-09 16:54:30 +08:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginLeft="5dp"
android:layout_marginEnd="15dp"
android:text="@string/wonderful_live"
android:textColor="@color/white"
2022-08-10 13:07:35 +08:00
android:textSize="13sp" />
2022-08-09 16:54:30 +08:00
</RelativeLayout>