This commit is contained in:
2023-10-11 16:18:36 +08:00
parent fd377b5280
commit 729270c3d0
14 changed files with 485 additions and 47 deletions

View File

@@ -6,7 +6,7 @@
android:startColor="#8F7CDF"
android:endColor="#D56FF0"
android:centerColor="#D56FF0"
android:angle="40"
android:angle="45"
/>
<corners android:radius="30dp"></corners>
</shape>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<gradient
android:startColor="#D9D9D9"
android:endColor="#D9D9D9"
android:centerColor="#D9D9D9"
android:angle="40"
/>
<corners android:radius="30dp"></corners>
</shape>
</item>
</selector>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,36 @@
<?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="@drawable/bg_chat_gift"
android:layout_width="130dp"
android:layout_height="90dp">
<TextView
android:id="@+id/tips"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="11dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="8dp"
android:maxWidth="261dp"
android:text="對方邀請您完成真人認證,開通通話權限"
android:textColor="#333333"
android:textSize="12sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/btn"
android:layout_width="69dp"
android:layout_height="23dp"
android:layout_marginBottom="10dp"
android:background="@drawable/background_8f7cdf"
android:text="去开通"
android:textColor="#FFF"
android:textSize="10sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>