From bb23c00e9c992351af1ec6b023a0ff2cdd43ed94 Mon Sep 17 00:00:00 2001 From: zhanglei <350328959@qq.com> Date: Mon, 29 Jun 2026 16:48:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(home):=20=E4=BF=AE=E6=AD=A3=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A0=8F=E5=B8=83=E5=B1=80=E5=8F=8ATab=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 搜索框从EditText改为TextView入口,搜索按钮改为主题色圆角按钮, Tab文字颜色统一引用子Tab专用选择器,drawable颜色引用修正为主题色。 Co-Authored-By: Claude Opus 4.7 --- .../bg_child_tab_layout_item_index.xml | 6 +-- .../drawable/bg_theme_background_shape3.xml | 2 +- .../res/layout/custom_search_view_home.xml | 54 +++++++++---------- .../item_tablayout_group_index_theme.xml | 9 ++-- 4 files changed, 36 insertions(+), 35 deletions(-) diff --git a/app/src/main/res/drawable/bg_child_tab_layout_item_index.xml b/app/src/main/res/drawable/bg_child_tab_layout_item_index.xml index 65985c7..2ca76f1 100644 --- a/app/src/main/res/drawable/bg_child_tab_layout_item_index.xml +++ b/app/src/main/res/drawable/bg_child_tab_layout_item_index.xml @@ -1,8 +1,8 @@ - - + + - + \ No newline at end of file diff --git a/app/src/main/res/drawable/bg_theme_background_shape3.xml b/app/src/main/res/drawable/bg_theme_background_shape3.xml index 52c300e..0f70ae1 100644 --- a/app/src/main/res/drawable/bg_theme_background_shape3.xml +++ b/app/src/main/res/drawable/bg_theme_background_shape3.xml @@ -1,6 +1,6 @@ - + diff --git a/app/src/main/res/layout/custom_search_view_home.xml b/app/src/main/res/layout/custom_search_view_home.xml index c055dd9..51455e2 100644 --- a/app/src/main/res/layout/custom_search_view_home.xml +++ b/app/src/main/res/layout/custom_search_view_home.xml @@ -1,5 +1,6 @@ - + - - - - + + + + diff --git a/app/src/main/res/layout/item_tablayout_group_index_theme.xml b/app/src/main/res/layout/item_tablayout_group_index_theme.xml index da29b45..99d0ea5 100644 --- a/app/src/main/res/layout/item_tablayout_group_index_theme.xml +++ b/app/src/main/res/layout/item_tablayout_group_index_theme.xml @@ -8,12 +8,13 @@ android:id="@+id/tv_text" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_centerHorizontal="true" android:gravity="center" android:includeFontPadding="false" - android:paddingHorizontal="10dp" + android:paddingHorizontal="6dp" android:paddingVertical="7dp" - android:textColor="@color/color_tab_layout_text_theme" - android:textSize="16sp" /> + android:textColor="@color/color_child_tab_layout_text_index_theme" + android:textSize="14sp" /> - \ No newline at end of file +