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

Commit d10a1af2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Search bar polish" into oc-dr1-dev

parents 9afa37ac a22768cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@
            <Toolbar
                android:id="@+id/search_toolbar"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_height="@dimen/search_bar_height"
                android:background="?android:attr/selectableItemBackground"
                android:contentInsetStart="0dp"
                android:contentInsetStartWithNavigation="0dp"
+3 −2
Original line number Diff line number Diff line
@@ -37,11 +37,12 @@
            <Toolbar
                android:id="@+id/search_action_bar"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_height="@dimen/search_bar_height"
                android:background="?android:attr/selectableItemBackground"
                android:contentInsetStartWithNavigation="64dp"
                android:navigationIcon="@drawable/ic_search_24dp"
                android:titleTextColor="@*android:color/text_color_primary"
                android:title="@string/search_menu"
                android:titleTextAppearance="@style/TextAppearance.SearchBar"
                android:theme="?android:attr/actionBarTheme"/>
        </android.support.v7.widget.CardView>
    </FrameLayout>
+2 −0
Original line number Diff line number Diff line
@@ -66,6 +66,8 @@
    <dimen name="search_result_item_image_margin_start">24dp</dimen>
    <dimen name="search_result_item_image_margin_end">32dp</dimen>

    <dimen name="search_bar_height">64dp</dimen>

    <!-- Dimensions for Wifi Assistant Card -->
    <dimen name="wifi_assistant_padding_top_bottom">24dp</dimen>
    <dimen name="wifi_assistant_padding_start_end">24dp</dimen>
+3 −0
Original line number Diff line number Diff line
@@ -145,6 +145,9 @@
    <dimen name="search_bar_margin">8dp</dimen>
    <dimen name="search_bar_negative_margin">-8dp</dimen>

    <dimen name="search_bar_height">48dp</dimen>
    <dimen name="search_bar_text_size">16dp</dimen>

    <!-- Dimensions for Wifi Assistant Card -->
    <dimen name="wifi_assistant_padding_top_bottom">16dp</dimen>
    <dimen name="wifi_assistant_padding_start_end">16dp</dimen>
+4 −0
Original line number Diff line number Diff line
@@ -459,4 +459,8 @@
        <item name="android:background">@color/material_grey_300</item>
    </style>

    <style name="TextAppearance.SearchBar" parent="@android:style/TextAppearance.Material.Widget.Toolbar.Subtitle">
        <item name="android:textSize">@dimen/search_bar_text_size</item>
    </style>

</resources>
Loading