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

Commit 868c846b authored by Aga Wronska's avatar Aga Wronska Committed by Android (Google) Code Review
Browse files

Merge "Fix SearchView background too high" into nyc-dev

parents 83b28c0e 6543be5c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
        <item name="android:colorPrimary">@color/primary</item>
        <item name="android:colorAccent">@color/accent</item>
        <item name="colorActionMode">@color/action_mode</item>
        <item name="android:queryBackground">@color/menu_search_background</item>

        <item name="android:listDivider">@*android:drawable/list_divider_material</item>

+0 −5
Original line number Diff line number Diff line
@@ -145,8 +145,6 @@ final class SearchViewManager implements

    private void onSearchExpanded() {
        mSearchExpanded = true;
        mView.setBackgroundColor(
                mView.getResources().getColor(R.color.menu_search_background, null));
    }

    boolean isSearching() {
@@ -179,9 +177,6 @@ final class SearchViewManager implements
            return false;
        }

        mView.setBackgroundColor(
                mView.getResources().getColor(android.R.color.transparent, null));

        // Refresh the directory if a search was done
        if (mCurrentSearch != null) {
            mCurrentSearch = null;