优化:缘池界面
This commit is contained in:
parent
a619bb1750
commit
0a29095649
BIN
android-app/app/src/main/res/drawable-nodpi/bg_fishpond_new.webp
Normal file
BIN
android-app/app/src/main/res/drawable-nodpi/bg_fishpond_new.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#60FFFFFF" />
|
||||
<corners android:radius="16dp" />
|
||||
</shape>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<stroke
|
||||
android:width="3dp"
|
||||
android:color="#80FFFFFF" />
|
||||
<solid android:color="#40000033" />
|
||||
</shape>
|
||||
9
android-app/app/src/main/res/drawable/bg_card_starry.xml
Normal file
9
android-app/app/src/main/res/drawable/bg_card_starry.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#80000033" />
|
||||
<corners android:radius="16dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#40FFFFFF" />
|
||||
</shape>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 外发光效果 -->
|
||||
<item>
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="#304169E1" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- 主体 -->
|
||||
<item android:left="4dp" android:top="4dp" android:right="4dp" android:bottom="4dp">
|
||||
<shape android:shape="oval">
|
||||
<gradient
|
||||
android:type="radial"
|
||||
android:gradientRadius="60dp"
|
||||
android:startColor="#6B5B95"
|
||||
android:centerColor="#4169E1"
|
||||
android:endColor="#1E3A8A" />
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="#80FFFFFF" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#40FFFFFF" />
|
||||
<solid android:color="@android:color/transparent" />
|
||||
</shape>
|
||||
|
|
@ -3,11 +3,22 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/bg_fishpond_gradient"
|
||||
android:paddingTop="18dp"
|
||||
android:clipChildren="false"
|
||||
android:clipToPadding="false">
|
||||
|
||||
<!-- 背景图片 -->
|
||||
<ImageView
|
||||
android:id="@+id/backgroundImage"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/bg_fishpond_new"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/titleText"
|
||||
android:layout_width="0dp"
|
||||
|
|
@ -27,7 +38,7 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginTop="14dp"
|
||||
android:background="@drawable/bg_fishpond_card_16"
|
||||
android:background="@drawable/bg_card_starry"
|
||||
android:paddingStart="14dp"
|
||||
android:paddingEnd="14dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -39,7 +50,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="剩余匹配"
|
||||
android:textColor="#666666"
|
||||
android:textColor="#CCFFFFFF"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
@ -50,7 +61,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="50 人"
|
||||
android:textColor="@color/purple_500"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -61,7 +72,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="真诚 | 南宁 | 在线"
|
||||
android:textColor="#666666"
|
||||
android:textColor="#CCFFFFFF"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
@ -71,8 +82,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="陈亚楠"
|
||||
android:textColor="@color/purple_500"
|
||||
android:text="小份"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
@ -99,7 +110,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_margin="36dp"
|
||||
android:background="@drawable/bg_orbit_ring"
|
||||
android:background="@drawable/bg_orbit_ring_starry"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -118,12 +129,13 @@
|
|||
android:id="@+id/centerButton"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
android:background="@android:color/transparent"
|
||||
android:background="@drawable/bg_center_button_starry"
|
||||
android:clipToOutline="true"
|
||||
android:elevation="10dp"
|
||||
android:padding="0dp"
|
||||
android:padding="25dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_globe_clean_filled"
|
||||
app:tint="#FFFFFF"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -145,7 +157,7 @@
|
|||
<FrameLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:background="@drawable/bg_avatar_ring_pink"
|
||||
android:background="@drawable/bg_avatar_ring_starry"
|
||||
android:padding="3dp">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -198,7 +210,7 @@
|
|||
<FrameLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:background="@drawable/bg_avatar_ring_pink"
|
||||
android:background="@drawable/bg_avatar_ring_starry"
|
||||
android:padding="3dp">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -251,7 +263,7 @@
|
|||
<FrameLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:background="@drawable/bg_avatar_ring_pink"
|
||||
android:background="@drawable/bg_avatar_ring_starry"
|
||||
android:padding="3dp">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -304,7 +316,7 @@
|
|||
<FrameLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:background="@drawable/bg_avatar_ring_pink"
|
||||
android:background="@drawable/bg_avatar_ring_starry"
|
||||
android:padding="3dp">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -357,7 +369,7 @@
|
|||
<FrameLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:background="@drawable/bg_avatar_ring_pink"
|
||||
android:background="@drawable/bg_avatar_ring_starry"
|
||||
android:padding="3dp">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -410,7 +422,7 @@
|
|||
<FrameLayout
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:background="@drawable/bg_avatar_ring_pink"
|
||||
android:background="@drawable/bg_avatar_ring_starry"
|
||||
android:padding="3dp">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -470,9 +482,11 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
app:cardBackgroundColor="@android:color/transparent"
|
||||
app:cardBackgroundColor="#80000033"
|
||||
app:cardCornerRadius="18dp"
|
||||
app:cardElevation="0dp"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="#40FFFFFF"
|
||||
app:cardUseCompatPadding="false"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
@ -530,7 +544,7 @@
|
|||
app:cardUseCompatPadding="false"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="#33FFFFFF"
|
||||
app:cardBackgroundColor="#CCF7F2FF">
|
||||
app:cardBackgroundColor="#80FFFFFF">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -578,7 +592,7 @@
|
|||
app:cardUseCompatPadding="false"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="#33FFFFFF"
|
||||
app:cardBackgroundColor="#CCF7F2FF">
|
||||
app:cardBackgroundColor="#80FFFFFF">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -626,7 +640,7 @@
|
|||
app:cardUseCompatPadding="false"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="#33FFFFFF"
|
||||
app:cardBackgroundColor="#CCF7F2FF">
|
||||
app:cardBackgroundColor="#80FFFFFF">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -674,7 +688,7 @@
|
|||
app:cardUseCompatPadding="false"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="#33FFFFFF"
|
||||
app:cardBackgroundColor="#CCF7F2FF">
|
||||
app:cardBackgroundColor="#80FFFFFF">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -722,7 +736,7 @@
|
|||
app:cardUseCompatPadding="false"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="#33FFFFFF"
|
||||
app:cardBackgroundColor="#CCF7F2FF">
|
||||
app:cardBackgroundColor="#80FFFFFF">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -770,7 +784,7 @@
|
|||
app:cardUseCompatPadding="false"
|
||||
app:strokeWidth="1dp"
|
||||
app:strokeColor="#33FFFFFF"
|
||||
app:cardBackgroundColor="#CCF7F2FF">
|
||||
app:cardBackgroundColor="#80FFFFFF">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user