371 lines
14 KiB
XML
371 lines
14 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"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:animateLayoutChanges="true"
|
||
|
android:background="@mipmap/background_red_packet"
|
||
|
android:backgroundTintMode="src_over">
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:layout_marginTop="45dp"
|
||
|
android:text="@string/save_popular_red_packets"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="18sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/icon_instructions"
|
||
|
android:layout_width="19dp"
|
||
|
android:layout_height="19dp"
|
||
|
android:layout_gravity="end"
|
||
|
android:layout_marginTop="28dp"
|
||
|
android:layout_marginEnd="21dp"
|
||
|
android:src="@mipmap/icon_instructions" />
|
||
|
|
||
|
<androidx.cardview.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="23dp"
|
||
|
android:layout_marginTop="97dp"
|
||
|
android:layout_marginEnd="29dp"
|
||
|
app:cardBackgroundColor="#E82936"
|
||
|
app:cardCornerRadius="8dp"
|
||
|
app:cardElevation="0dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="35dp"
|
||
|
android:gravity="center_vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="23dp"
|
||
|
android:text="@string/amount"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="15sp" />
|
||
|
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/rill"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:background="@null"
|
||
|
android:gravity="center"
|
||
|
android:inputType="number"
|
||
|
android:text="0"
|
||
|
android:textColor="@color/white"
|
||
|
android:textColorHint="@color/white"
|
||
|
android:textSize="18sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="20dp"
|
||
|
android:text="@string/drill"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="15sp" />
|
||
|
</LinearLayout>
|
||
|
</androidx.cardview.widget.CardView>
|
||
|
|
||
|
<androidx.cardview.widget.CardView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="23dp"
|
||
|
android:layout_marginTop="149dp"
|
||
|
android:layout_marginEnd="29dp"
|
||
|
app:cardBackgroundColor="#E82936"
|
||
|
app:cardCornerRadius="8dp"
|
||
|
app:cardElevation="0dp">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="35dp"
|
||
|
android:gravity="center_vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="23dp"
|
||
|
android:text="@string/count"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="15sp" />
|
||
|
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/total"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:background="@null"
|
||
|
android:gravity="center"
|
||
|
android:inputType="number"
|
||
|
android:text="0"
|
||
|
android:textColor="@color/white"
|
||
|
android:textColorHint="@color/white"
|
||
|
android:textSize="18sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginEnd="20dp"
|
||
|
android:text="@string/live_send_gift_2"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="15sp" />
|
||
|
</LinearLayout>
|
||
|
</androidx.cardview.widget.CardView>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="213dp">
|
||
|
|
||
|
<androidx.cardview.widget.CardView
|
||
|
android:layout_width="72dp"
|
||
|
android:layout_height="35dp"
|
||
|
android:layout_marginStart="23dp"
|
||
|
app:cardBackgroundColor="#E82936"
|
||
|
app:cardCornerRadius="8dp"
|
||
|
app:cardElevation="0dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/conditions"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="13sp" />
|
||
|
</androidx.cardview.widget.CardView>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="15dp"
|
||
|
android:layout_marginEnd="30dp">
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/there_is_no"
|
||
|
android:layout_width="45dp"
|
||
|
android:layout_height="30dp"
|
||
|
android:background="@drawable/background_red_packet_select"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/there_is_no"
|
||
|
android:textColor="#FDD04A"
|
||
|
android:textSize="13sp" />
|
||
|
<LinearLayout
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="70dp"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="vertical"
|
||
|
>
|
||
|
<Button
|
||
|
android:id="@+id/following_anchor"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="30dp"
|
||
|
android:layout_gravity="end"
|
||
|
android:layout_marginStart="5dp"
|
||
|
android:background="@drawable/background_red_packet_select"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/following_anchor"
|
||
|
android:layout_marginBottom="5dp"
|
||
|
android:textColor="#FDD04A"
|
||
|
android:textSize="10sp" />
|
||
|
<Button
|
||
|
android:id="@+id/fans_group"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="30dp"
|
||
|
android:layout_gravity="end"
|
||
|
android:layout_marginStart="5dp"
|
||
|
android:background="@drawable/background_red_packet_select"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/live_send_red_packge_fans_group"
|
||
|
android:textColor="#FDD04A"
|
||
|
android:textSize="10sp" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="23dp"
|
||
|
android:layout_marginTop="286dp"
|
||
|
android:layout_marginEnd="29dp">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/red_envelope_rill"
|
||
|
android:layout_width="105dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/red_envelope_rill"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/total_consumption_of_drill"
|
||
|
android:layout_width="105dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="end"
|
||
|
android:gravity="end"
|
||
|
android:text="@string/total_consumption_of_drill"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
</FrameLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/red_pack_send"
|
||
|
android:layout_width="160dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_gravity="center_horizontal|bottom"
|
||
|
android:layout_marginBottom="34dp"
|
||
|
android:background="@drawable/background_send_red_packet"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/red_pack_6"
|
||
|
android:textColor="#8F3B00"
|
||
|
android:textSize="16sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/top_up_now"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal|bottom"
|
||
|
android:layout_marginBottom="13dp"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/top_up_now"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<FrameLayout
|
||
|
android:id="@+id/red_packet_illustrate"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:background="@drawable/background_send_red_packet_illustrate"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
|
||
|
<androidx.core.widget.NestedScrollView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="392dp"
|
||
|
android:paddingTop="25dp"
|
||
|
android:paddingBottom="25dp">
|
||
|
|
||
|
<FrameLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
<!--结果-->
|
||
|
<LinearLayout
|
||
|
android:layout_width="245dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/send_red_packet_illustrate1"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/send_red_packet_illustrate2"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="11sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="15dp"
|
||
|
android:text="@string/send_red_packet_illustrate3"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/send_red_packet_illustrate4"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="11sp" />
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="15dp"
|
||
|
android:text="@string/send_red_packet_illustrate5"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/send_red_packet_illustrate6"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="11sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="15dp"
|
||
|
android:text="@string/send_red_packet_illustrate7"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/send_red_packet_illustrate8"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="11sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="15dp"
|
||
|
android:text="@string/send_red_packet_illustrate9"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="12sp" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/send_red_packet_illustrate10"
|
||
|
android:textColor="@color/white"
|
||
|
android:textSize="11sp" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/red_packet_info_img"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_gravity="center"
|
||
|
android:layout_marginTop="5dp"
|
||
|
android:src="@mipmap/bg_red_packet_info_zh" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|
||
|
</androidx.core.widget.NestedScrollView>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/illustrate_close"
|
||
|
android:layout_width="19dp"
|
||
|
android:layout_height="19dp"
|
||
|
android:layout_gravity="end"
|
||
|
android:layout_margin="12dp"
|
||
|
android:src="@mipmap/meiyan_icon_close" />
|
||
|
</FrameLayout>
|
||
|
</FrameLayout>
|