Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e791ea3d authored by Yorke Lee's avatar Yorke Lee
Browse files

Give search view buttons unbounded ripples

Also increase the size of the buttons slightly so that the ripples
are not so small

Bug: 15730203
Change-Id: I5e2d7d43275a557f6cf9782f2f17a7958deb1acd
parent 23356478
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
        android:layout_height="@dimen/search_box_icon_size"
        android:layout_margin="@dimen/search_box_icon_margin"
        android:src="@drawable/ic_back_arrow"
        android:background="?android:attr/selectableItemBackground"
        android:background="?android:attr/selectableItemBackgroundBorderless"
        android:contentDescription="@string/action_menu_back_from_search"
        android:tint="@color/actionbar_background_color" />

@@ -54,7 +54,7 @@
        android:layout_margin="@dimen/search_box_icon_margin"
        android:src="@drawable/ic_close_dk"
        android:clickable="true"
        android:background="?android:attr/selectableItemBackground"
        android:background="?android:attr/selectableItemBackgroundBorderless"
        android:contentDescription="@string/description_clear_search"
        android:tint="@color/searchbox_icon_tint"/>

+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@
    <!-- Padding around the icon in the search box. -->
    <dimen name="search_box_icon_margin">4dp</dimen>
    <!-- Size of the icon (voice search, close search) in the search box. -->
    <dimen name="search_box_icon_size">28dp</dimen>
    <dimen name="search_box_icon_size">32dp</dimen>
    <!-- Left margin of the text field in the search box. -->
    <dimen name="search_box_text_left_margin">27dp</dimen>
    <!-- Search box text size -->