68 lines
2.2 KiB
XML
68 lines
2.2 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:id="@+id/bg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@drawable/bg_coin_item_0">
|
|
|
|
<ImageView
|
|
android:id="@+id/wrap"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/icon_coin_wrap"
|
|
android:visibility="invisible"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<ImageView
|
|
android:id="@+id/thumb"
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:scaleType="centerCrop"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="3dp"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="14sp"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
<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="8sp"
|
|
/>
|
|
</com.yunbao.common.custom.CoinGiveLayout>
|
|
</FrameLayout> |