fix(home): 修正搜索栏布局及Tab样式细节
搜索框从EditText改为TextView入口,搜索按钮改为主题色圆角按钮, Tab文字颜色统一引用子Tab专用选择器,drawable颜色引用修正为主题色。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
f5be575491
commit
bb23c00e9c
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 选中状态-->
|
||||
<item android:drawable="@drawable/bg_white_background_shap" android:state_checked="true"/>
|
||||
<item android:drawable="@drawable/bg_white_background_shap" android:state_selected="true"/>
|
||||
<item android:drawable="@color/theme_color" android:state_checked="true"/>
|
||||
<item android:drawable="@color/theme_color" android:state_selected="true"/>
|
||||
<!-- 默认状态-->
|
||||
<item android:drawable="@drawable/bg_action_grey_radius5"/>
|
||||
<item android:drawable="@color/text_black_60"/>
|
||||
</selector>
|
||||
@@ -1,6 +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="?attr/colorPrimary" />
|
||||
<solid android:color="@color/theme_color" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
|
||||
Reference in New Issue
Block a user