This commit is contained in:
2023-10-11 18:28:33 +08:00
parent 24d93f2604
commit 1424ff61e1
11 changed files with 286 additions and 11 deletions

View File

@@ -1,6 +1,39 @@
<?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:background="#F3F4F6"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="wrap_content">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:spanCount="1"
tools:itemCount="1"
tools:listitem="@layout/item_dialog_bottom" />
<TextView
android:id="@+id/cancel"
android:layout_width="match_parent"
android:layout_height="41dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="15dp"
android:background="@color/white"
android:gravity="center"
android:textColor="#333333"
android:textSize="14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/recyclerView"
tools:text="取消" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,23 @@
<?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="match_parent"
android:background="@color/white"
android:layout_height="wrap_content">
<TextView
android:id="@+id/item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="11dp"
android:textColor="#333333"
android:textSize="14sp"
android:gravity="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="发起语音通话\n200钻/分钟" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -50,7 +50,7 @@
android:layout_width="13dp"
android:layout_height="13dp"
android:layout_gravity="center"
app:srcCompat="@mipmap/home_me_diamonds" />
app:srcCompat="@mipmap/ic_drill" />
<TextView
android:id="@+id/money"

View File

@@ -42,7 +42,7 @@
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="center"
app:srcCompat="@mipmap/home_me_diamonds" />
app:srcCompat="@mipmap/ic_drill" />
<TextView
android:id="@+id/money"
@@ -55,13 +55,13 @@
<Button
android:id="@+id/top_up_btn"
android:layout_width="31dp"
android:layout_height="15dp"
android:layout_width="45dp"
android:layout_height="25dp"
android:layout_gravity="center"
android:layout_marginStart="6dp"
android:background="@drawable/bg_gift_top_up"
android:text="充值"
android:textColor="#FFB554"
android:textColor="#FFF"
android:textSize="10sp" />
</LinearLayout>