Merge "Fix SearchView background too high" into nyc-dev
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user