Fix GlobalSearchInputLayout

This commit is contained in:
Andrew 2024-06-15 01:28:00 +09:30
parent f0e09b5607
commit 74d2dc02ae
2 changed files with 7 additions and 5 deletions

View File

@ -2,5 +2,5 @@
<shape android:shape="rectangle" <shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="?searchBackgroundColor"/> <solid android:color="?searchBackgroundColor"/>
<corners android:radius="32dp"/> <corners android:radius="7dp"/>
</shape> </shape>

View File

@ -15,11 +15,13 @@
app:layout_constraintEnd_toStartOf="@+id/search_cancel" app:layout_constraintEnd_toStartOf="@+id/search_cancel"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:minHeight="40dp"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <ImageView
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_width="16dp" android:layout_width="20dp"
android:layout_height="16dp" android:layout_height="20dp"
android:src="@drawable/ic_baseline_search_24" android:src="@drawable/ic_baseline_search_24"
android:scaleType="centerInside" android:scaleType="centerInside"
app:tint="?searchIconColor" app:tint="?searchIconColor"
@ -42,8 +44,8 @@
android:background="?selectableItemBackgroundBorderless" android:background="?selectableItemBackgroundBorderless"
android:src="@drawable/ic_close_white_18dp" android:src="@drawable/ic_close_white_18dp"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_width="16dp" android:layout_width="20dp"
android:layout_height="16dp" android:layout_height="20dp"
app:tint="?searchIconColor" /> app:tint="?searchIconColor" />
</LinearLayout> </LinearLayout>
<Button <Button