diff --git a/res/drawable/full_rounded_transparent_ripple.xml b/res/drawable/full_rounded_transparent_ripple.xml new file mode 100644 index 0000000000..a1e79437a8 --- /dev/null +++ b/res/drawable/full_rounded_transparent_ripple.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/widgets_search_bar.xml b/res/layout/widgets_search_bar.xml index 0b354e8aee..cb27f4fb6f 100644 --- a/res/layout/widgets_search_bar.xml +++ b/res/layout/widgets_search_bar.xml @@ -31,11 +31,9 @@ android:id="@+id/widgets_search_cancel_button" android:layout_height="wrap_content" android:layout_width="wrap_content" - android:paddingVertical="12dp" - android:paddingStart="8dp" - android:paddingEnd="12dp" + android:padding="12dp" android:src="@drawable/ic_gm_close_24" - android:background="?android:selectableItemBackground" + android:background="@drawable/full_rounded_transparent_ripple" android:layout_gravity="center" android:contentDescription="@string/widgets_full_sheet_cancel_button_description" android:visibility="gone"/>