日心愿单重置

This commit is contained in:
18401019693
2023-03-30 16:17:25 +08:00
parent 70a91fedf3
commit 5095de3c43
9 changed files with 133 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="15dp" />
<solid android:color="#803A37C3" />
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout 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="580dp"
@@ -24,6 +24,19 @@
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/context_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"
android:layout_below="@+id/wish_tab" />
</LinearLayout>
<TextView
android:id="@+id/replacement_wish"
android:layout_width="117dp"
android:layout_height="31dp"
android:layout_alignParentEnd="true"
android:layout_margin="8dp"
android:background="@drawable/background_wish_replacement"
android:gravity="center"
android:text="@string/replacement_wish_day"
android:textColor="@color/white"
android:textSize="14sp" />
</RelativeLayout>

View File

@@ -1096,6 +1096,10 @@
<string name="aristocrat">貴族</string>
<string name="aristocrat_determine">確定</string>
<string name="layout_live_anchor_say_ready_title">女神說</string>
<string name="replacement_wish_day">重置心願:日</string>
<string name="replacement_wish_zhou">重置心願:周</string>
<string name="replacement_wish_lunar">重置心願:月</string>
<string name="replacement_wish_seasonal">重置心願:季</string>
</resources>