Update Search Suggestions and Results Panel
- fix overdraw use as less backgrounds as possible
- make it look like the Dashboard with padding left and right
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: I30ff33e51bc3c73e888d45f0ce6e16784eb6721c
diff --git a/res/drawable/dashboard_tile_background.xml b/res/drawable/dashboard_tile_background.xml
index 2629cda..105ff18 100644
--- a/res/drawable/dashboard_tile_background.xml
+++ b/res/drawable/dashboard_tile_background.xml
@@ -16,6 +16,6 @@
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:attr/colorControlHighlight">
- <item android:drawable="@android:color/white" />
+ <item android:id="@android:id/mask"
+ android:drawable="@android:color/white" />
</ripple>
-
diff --git a/res/drawable/search_panel_list_background.xml b/res/drawable/search_panel_list_background.xml
new file mode 100644
index 0000000..b2f2627
--- /dev/null
+++ b/res/drawable/search_panel_list_background.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+ android:insetLeft="@dimen/dashboard_padding_start"
+ android:insetTop="@dimen/dashboard_padding_top"
+ android:insetRight="@dimen/dashboard_padding_end"
+ android:insetBottom="@dimen/dashboard_padding_bottom">
+
+ <shape android:shape="rectangle">
+
+ <solid android:color="@android:color/white" />
+
+ </shape>
+
+</inset>