UI调整:首页和搜索页背景细节修改

This commit is contained in:
huangjian
2023-01-10 11:26:09 +08:00
parent ff14ac710c
commit e37af6c9a1
6 changed files with 239 additions and 226 deletions

View File

@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg_normal_1c1b22"
android:background="@drawable/bg_me_page"
android:orientation="vertical">
<LinearLayout

View File

@@ -19,13 +19,9 @@
<View
android:id="@+id/view_bg"
android:layout_width="0dp"
android:layout_height="0dp"
android:background="@drawable/bg_me_page"
app:layout_constraintDimensionRatio="750:1334"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_me_page" />
<LinearLayout
android:layout_width="match_parent"

View File

@@ -1,10 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_f4f4fa">
<View
android:id="@+id/view_bg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_me_page" />
<LinearLayout
android:id="@+id/recent_list_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg_normal_1c1b22"
android:orientation="vertical">
<FrameLayout
@@ -224,3 +234,5 @@
android:layout_marginTop="15dp" />
</LinearLayout>
</FrameLayout>

View File

@@ -558,7 +558,7 @@
<!-- 主题色 -->
<color name="app_248cfe">#5FCCE4</color>
<!-- 页面背景色 -->
<color name="bg_normal_1c1b22">#FFF4F4FA</color>
<color name="bg_normal_1c1b22">#FFF3F5FA</color>
<!-- 页面次级背景 列表item背景色-->
<color name="bg_secondary_2a2a39">#FFFFFF</color>
<!-- 页面三级背景色,一般用于输入框-->

View File

@@ -4,8 +4,13 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bg_normal_1c1b22"
app:layout_constraintTop_toTopOf="parent">
android:background="@color/bg_normal_1c1b22">
<View
android:id="@+id/view_bg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_me_page" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"

View File

@@ -76,6 +76,6 @@
<color name="color_1c1b22">#1C1B22</color>
<color name="color_C6C6E9">#ff333333</color>
<color name="text_hint_555574">#B3333333</color>
<color name="color_f4f4fa">#FFF4F4FA</color>
<color name="color_f4f4fa">#FFF3F5FA</color>
</resources>