pref: 搜索框样式细节调整

This commit is contained in:
HuanChengFly 2020-11-06 19:45:21 +08:00
parent 947680e3dd
commit ceab9ae853
2 changed files with 10 additions and 6 deletions

View File

@ -32,8 +32,9 @@
android:layout_marginBottom="12dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
app:hintTextColor="@color/default_color_primary"
app:placeholderTextColor="@color/default_color_primary"
app:startIconTint="@color/color_on_toolbar_bar"
app:hintTextColor="@color/color_on_toolbar_bar"
app:placeholderTextColor="@color/color_on_toolbar_bar"
app:startIconDrawable="@drawable/ic_round_arrow_back">
<com.huanchengfly.tieba.post.widgets.theme.TintTextInputEditText
@ -44,7 +45,8 @@
android:layout_height="wrap_content"
android:background="@null"
android:hint="@string/hint_search"
android:textColorHint="@color/default_color_text_secondary" />
android:textStyle="bold"
android:textColorHint="@color/color_on_toolbar_bar" />
</com.huanchengfly.tieba.post.widgets.theme.TintTextInputLayout>
</com.huanchengfly.tieba.post.widgets.theme.TintAppBarLayout>

View File

@ -34,8 +34,9 @@
android:layout_marginBottom="12dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
app:hintTextColor="@color/default_color_primary"
app:placeholderTextColor="@color/default_color_primary"
app:startIconTint="@color/color_on_toolbar_bar"
app:hintTextColor="@color/color_on_toolbar_bar"
app:placeholderTextColor="@color/color_on_toolbar_bar"
app:startIconDrawable="@drawable/ic_round_arrow_back">
<com.huanchengfly.tieba.post.widgets.theme.TintTextInputEditText
@ -46,7 +47,8 @@
android:layout_height="wrap_content"
android:background="@null"
android:hint="@string/hint_search"
android:textColorHint="@color/default_color_text_secondary" />
android:textStyle="bold"
android:textColorHint="@color/color_on_toolbar_bar" />
</com.huanchengfly.tieba.post.widgets.theme.TintTextInputLayout>
</com.huanchengfly.tieba.post.widgets.theme.TintAppBarLayout>