bug修改 - 新手礼物 guide 优化
This commit is contained in:
parent
bbee6dd808
commit
35c1119ddb
|
|
@ -70,7 +70,7 @@ class BeginnerGiftDialog(activity: Activity) : BindingDialog<DialogBeginnerGiftB
|
|||
.setHighlightShape(RectShape(19.dp, 19.dp, 19.dp))
|
||||
.setHighlightHorizontalPadding(0.dp)
|
||||
.setConstraints(Constraints.TopToBottomOfHighlight + Constraints.EndToEndOfHighlight)
|
||||
.setMarginOffset(MarginOffset(top = -20.dp.toInt(), end = -10.dp.toInt()))
|
||||
.setMarginOffset(MarginOffset(top = -25.dp.toInt(), end = -10.dp.toInt()))
|
||||
.build()
|
||||
}
|
||||
.setBackgroundColor("#00000000".toColorInt())
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient android:type="linear" android:useLevel="true" android:endColor="#ffff862f" android:startColor="#ffffed2a" android:angle="180" />
|
||||
<corners android:topLeftRadius="42dp" android:topRightRadius="42dp" android:bottomLeftRadius="42dp" android:bottomRightRadius="42dp" />
|
||||
</shape>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/bg_beginner_gift"
|
||||
android:src="@mipmap/bg_newbie_gift"
|
||||
/>
|
||||
|
||||
|
||||
|
|
@ -72,18 +72,19 @@
|
|||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_action"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="38dp"
|
||||
android:layout_marginBottom="45dp"
|
||||
android:paddingVertical="10dp"
|
||||
android:background="@drawable/bg_but_newbie_gift"
|
||||
android:layout_marginHorizontal="46dp"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/red_11"
|
||||
android:text="@string/resgatar"
|
||||
android:layout_gravity="bottom"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:gravity="center_horizontal"
|
||||
/>
|
||||
|
||||
</FrameLayout>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 564 KiB |
Loading…
Reference in New Issue