summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-04-14 19:44:31 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2014-04-14 19:44:31 -0700
commit71a2ef3e7c9e8a4e1ec8fa84212dcb6816cb86fc (patch)
treefafc4a69e74a94c6be453c1f50604a45deed38be /res
parent990159abaad7f314fbe1f9eaf064a088806ffb19 (diff)
downloadpackages_apps_Settings-71a2ef3e7c9e8a4e1ec8fa84212dcb6816cb86fc.zip
packages_apps_Settings-71a2ef3e7c9e8a4e1ec8fa84212dcb6816cb86fc.tar.gz
packages_apps_Settings-71a2ef3e7c9e8a4e1ec8fa84212dcb6816cb86fc.tar.bz2
Update UI for Search results
- put the icon on the left - just use the "summaryOn" ellipsized instead of the list of values Change-Id: I7250ff5b7c882b873cfe6bb0ec550a8eaf052d16
Diffstat (limited to 'res')
-rw-r--r--res/layout/search_result_item.xml38
1 files changed, 19 insertions, 19 deletions
diff --git a/res/layout/search_result_item.xml b/res/layout/search_result_item.xml
index 6fa6d98..30d6fc0 100644
--- a/res/layout/search_result_item.xml
+++ b/res/layout/search_result_item.xml
@@ -22,6 +22,25 @@
android:paddingStart="@*android:dimen/preference_item_padding_side"
android:paddingEnd="?android:attr/scrollbarSize">
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:minWidth="@*android:dimen/preference_icon_minWidth"
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:layout_gravity="center"
+ android:minWidth="48dp"
+ android:scaleType="centerInside"
+ android:layout_marginEnd="@*android:dimen/preference_item_padding_inner"
+ />
+
+ </LinearLayout>
+
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -49,23 +68,4 @@
</RelativeLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:minWidth="@*android:dimen/preference_icon_minWidth"
- android:orientation="horizontal">
-
- <ImageView
- android:id="@+id/icon"
- android:layout_width="48dp"
- android:layout_height="48dp"
- android:layout_gravity="center"
- android:minWidth="48dp"
- android:scaleType="centerInside"
- android:layout_marginEnd="@*android:dimen/preference_item_padding_inner"
- />
-
- </LinearLayout>
-
</LinearLayout>