|
|
@@ -0,0 +1,269 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout 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"
|
|
|
+ android:background="@drawable/bg_dialog_send_gift"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <com.google.android.flexbox.FlexboxLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ app:flexDirection="row"
|
|
|
+ app:justifyContent="space_around">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gift0"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/bg_gift_selector"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:tag="0">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@mipmap/liwu_icon_meigui" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:text="玫瑰"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="8M币"
|
|
|
+ android:textColor="#ffffc100"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gift1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/bg_gift_selector"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:tag="1">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@mipmap/liwu_icon_lanseyaoji" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:text="蓝色妖姬"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="48M币"
|
|
|
+ android:textColor="#ffffc100"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gift2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/bg_gift_selector"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:tag="2">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@mipmap/liwu_icon_bijini" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:text="比基尼"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="98M币"
|
|
|
+ android:textColor="#ffffc100"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </com.google.android.flexbox.FlexboxLayout>
|
|
|
+
|
|
|
+ <com.google.android.flexbox.FlexboxLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:flexDirection="row"
|
|
|
+ app:justifyContent="space_around">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gift3"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/bg_gift_selector"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:tag="3">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@mipmap/liwu_icon_hunsha" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:text="婚纱"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="298M币"
|
|
|
+ android:textColor="#ffffc100"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gift4"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/bg_gift_selector"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:tag="4">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@mipmap/liwu_icon_zuanjie" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:text="钻戒"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="698M币"
|
|
|
+ android:textColor="#ffffc100"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/gift5"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="5"
|
|
|
+ android:background="@drawable/bg_gift_selector"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:tag="5">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@mipmap/liwu_icon_youting" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:text="豪华游艇"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="17dp"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="1598M币"
|
|
|
+ android:textColor="#ffffc100"
|
|
|
+ android:textSize="12sp" />
|
|
|
+ </LinearLayout>
|
|
|
+ </com.google.android.flexbox.FlexboxLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:background="#1AFFFFFF" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:gravity="left|center"
|
|
|
+ android:paddingLeft="30dp"
|
|
|
+ android:paddingRight="20dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_balance"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:text="余额: 0M币"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_recharge"
|
|
|
+ style="@style/Widget.AppCompat.Button.Borderless"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:paddingRight="20dp"
|
|
|
+ android:text="充值"
|
|
|
+ android:textColor="@color/pink"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_send_gift"
|
|
|
+ style="@style/Widget.AppCompat.Button.Borderless"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:background="@drawable/bg_btn_send_gift"
|
|
|
+ android:paddingLeft="20dp"
|
|
|
+ android:paddingTop="0dp"
|
|
|
+ android:paddingRight="20dp"
|
|
|
+ android:paddingBottom="0dp"
|
|
|
+ android:text="发送"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="13sp" />
|
|
|
+ </LinearLayout>
|
|
|
+</LinearLayout>
|