pandorapan/common/src/main/res/layout/item_coin.xml
18142669586 a02f7b2e22 1
2024-02-23 16:07:50 +08:00

92 lines
2.8 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="wrap_content"
>
<FrameLayout
android:id="@+id/bg"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginRight="9dp"
android:layout_marginTop="5dp"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:orientation="vertical"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
>
<TextView
android:id="@+id/coin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/textColor"
android:textSize="16sp"
/>
<ImageView
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_marginLeft="5dp"
android:src="@mipmap/diamond"
/>
</LinearLayout>
<TextView
android:visibility="gone"
android:id="@+id/money"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:textColor="@color/textColor2"
android:textSize="13sp"
/>
</LinearLayout>
</FrameLayout>
<com.yunbao.common.custom.CoinGiveLayout
android:id="@+id/give_group"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:paddingBottom="10dp"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:paddingTop="2dp"
android:visibility="invisible"
app:cgl_arrow_height="8dp"
app:cgl_arrow_offset_x="3dp"
app:cgl_arrow_width="6dp"
app:cgl_bg_color="@color/global"
app:cgl_radius="3dp"
>
<TextView
android:id="@+id/give"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textSize="10sp"
/>
</com.yunbao.common.custom.CoinGiveLayout>
</FrameLayout>