调整红包查看手气的UI
This commit is contained in:
parent
addab80997
commit
6743ec3cf6
BIN
common/src/main/res/mipmap-xxhdpi/img_no_anchor0.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/img_no_anchor0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
@ -2,35 +2,41 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/gift_name"
|
android:id="@+id/gift_name"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="dadsad"
|
android:text="dadsad"
|
||||||
|
android:layout_weight="1"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="70dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="0.1"
|
||||||
|
|
||||||
android:gravity="end|center_vertical">
|
android:gravity="end|center_vertical">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/gift_image"
|
android:id="@+id/gift_image"
|
||||||
android:layout_width="20dp"
|
android:layout_width="20dp"
|
||||||
android:layout_height="20dp" />
|
android:layout_height="20dp"
|
||||||
|
tools:srcCompat="@mipmap/beauty_jingbai" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/gift_number"
|
android:id="@+id/gift_number"
|
||||||
android:layout_width="40dp"
|
android:layout_width="0dp"
|
||||||
android:gravity="end"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="end"
|
||||||
|
android:text="10000"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:animateLayoutChanges="true"
|
android:animateLayoutChanges="true"
|
||||||
android:background="@mipmap/background_red_packet"
|
android:background="@mipmap/background_red_packet"
|
||||||
android:backgroundTintMode="src_over">
|
android:backgroundTintMode="src_over">
|
||||||
@ -33,6 +34,7 @@
|
|||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/user_list"
|
android:id="@+id/user_list"
|
||||||
android:layout_width="200dp"
|
android:layout_width="200dp"
|
||||||
|
tools:listitem="@layout/view_red_packet_luck_user"
|
||||||
android:layout_height="241dp"
|
android:layout_height="241dp"
|
||||||
android:layout_marginTop="26dp" />
|
android:layout_marginTop="26dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -8,5 +8,5 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@mipmap/img_no_anchor" />
|
android:background="@mipmap/img_no_anchor0" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
Reference in New Issue
Block a user