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

This commit is contained in:
Aga Wronska
2016-02-26 23:47:14 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 5 deletions

View File

@@ -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>

View File

@@ -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;