调整礼物UI
新增新人签到弹框
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="360dp" android:height="306dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#ff000000" />
|
||||
<solid android:color="#B3000000" />
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#ff181a34" android:endColor="#ff080a1b" android:angle="0" />
|
||||
<corners android:topLeftRadius="8dp" android:topRightRadius="8dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp" />
|
||||
</shape>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<item android:width="1dp" android:height="23dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#ff626262" />
|
||||
<corners android:topLeftRadius="1dp" android:topRightRadius="1dp" android:bottomLeftRadius="1dp" android:bottomRightRadius="1dp" />
|
||||
<corners android:topLeftRadius="1.5dp" android:topRightRadius="1.5dp" android:bottomLeftRadius="1dp" android:bottomRightRadius="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
9
live/src/main/res/drawable/bg_live_sign_btn.xml
Normal file
9
live/src/main/res/drawable/bg_live_sign_btn.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="182dp" android:height="33dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#ffffffff" />
|
||||
<corners android:topLeftRadius="16dp" android:topRightRadius="16dp" android:bottomLeftRadius="16dp" android:bottomRightRadius="16dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
BIN
live/src/main/res/drawable/bg_live_vip_blue.png
Normal file
BIN
live/src/main/res/drawable/bg_live_vip_blue.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
@@ -42,7 +42,7 @@
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:background="@drawable/bg_live_vip_gold"
|
||||
android:background="@drawable/bg_live_vip_blue"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
<LinearLayout
|
||||
android:id="@+id/group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="350dp"
|
||||
android:layout_height="300dp"
|
||||
android:gravity="bottom"
|
||||
android:layout_below="@id/gift_tab_layout"
|
||||
android:orientation="vertical">
|
||||
|
||||
57
live/src/main/res/layout/dialog_live_sign.xml
Normal file
57
live/src/main/res/layout/dialog_live_sign.xml
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="251dp"
|
||||
android:layout_height="371dp"
|
||||
android:background="@mipmap/bg_live_sign">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/live_sign_desc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="150dp"
|
||||
android:text="恭喜您第一天簽到成功!"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="12sp"
|
||||
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_sign"
|
||||
android:layout_width="87dp"
|
||||
android:layout_height="87dp"
|
||||
android:layout_marginBottom="27dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/live_sign_btn"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/live_sign_desc"
|
||||
app:srcCompat="@drawable/img_rank_empty" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/live_sign_btn"
|
||||
android:layout_width="183dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginBottom="26dp"
|
||||
android:background="@drawable/bg_live_sign_btn"
|
||||
android:text="確認收下"
|
||||
android:textColor="#FE730D"
|
||||
android:textSize="15sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sign_desc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#651308"
|
||||
android:text="萌新勛章"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/icon_sign" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:mfl_ratio="1.3"
|
||||
app:mfl_ratio="1.1"
|
||||
android:background="@drawable/bg_live_gift_items"
|
||||
>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="45dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="28dp">
|
||||
android:layout_marginTop="8dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user