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

Commit 6543be5c authored by Aga Wronska's avatar Aga Wronska
Browse files

Fix SearchView background too high

Bug: 27293462
Change-Id: Id694fc9c1a7d6e21534e74e20f95c8c080861598
parent dc32185b
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;