101 lines
3.3 KiB
XML
101 lines
3.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<com.yunbao.common.custom.MyFrameLayout2
|
||
|
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"
|
||
|
app:mfl_ratio="1.25"
|
||
|
>
|
||
|
|
||
|
<com.yunbao.common.custom.MyRadioButton
|
||
|
android:id="@+id/radioButton"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@drawable/bg_live_gift_item"
|
||
|
android:button="@null"
|
||
|
android:checked="true"
|
||
|
/>
|
||
|
|
||
|
<com.yunbao.live.custom.GiftMarkView
|
||
|
android:id="@+id/mark"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_marginRight="1dp"
|
||
|
android:layout_marginTop="1dp"/>
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="45dp"
|
||
|
android:layout_height="45dp"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:layout_marginTop="8dp">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/icon"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_centerHorizontal="true"/>
|
||
|
|
||
|
<TextView android:id="@+id/expire"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentBottom="true"
|
||
|
android:textColor="@color/color_white"
|
||
|
android:gravity="center"
|
||
|
android:background="#D996cff0"
|
||
|
android:visibility="gone"
|
||
|
android:layout_centerVertical="true"
|
||
|
android:layout_marginBottom="2dp"
|
||
|
android:textSize="8sp"/>
|
||
|
|
||
|
</RelativeLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="bottom|center"
|
||
|
android:gravity="center"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<ImageView android:id="@+id/pay_ico"
|
||
|
android:layout_width="10dp"
|
||
|
android:layout_height="10dp"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/price"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textColor="@color/gray3"
|
||
|
android:layout_marginLeft="5dp"
|
||
|
android:textSize="11sp"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/name"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="23dp"
|
||
|
android:gravity="center"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp"
|
||
|
android:layout_gravity="bottom"
|
||
|
/>
|
||
|
<TextView
|
||
|
android:visibility="gone"
|
||
|
android:layout_gravity="right"
|
||
|
android:id="@+id/tvRedpoint"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="14dp"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:background="@drawable/bg_red_point"
|
||
|
android:gravity="center"
|
||
|
android:includeFontPadding="false"
|
||
|
android:minWidth="14dp"
|
||
|
android:paddingLeft="3dp"
|
||
|
android:paddingRight="3dp"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="10sp" />
|
||
|
</com.yunbao.common.custom.MyFrameLayout2>
|