summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2015-12-15 13:50:48 -0800
committerDanesh M <daneshm90@gmail.com>2015-12-15 17:43:58 -0800
commitacfc22ef98d862000664757c800995d2670350a2 (patch)
tree4b7b94b8f0438393a7ab2ecc8d4a998ac68e0991 /packages/SystemUI/res/layout
parent45c058ad105c5c512c2a88b542eb3ace20ee939a (diff)
downloadframeworks_base-acfc22ef98d862000664757c800995d2670350a2.zip
frameworks_base-acfc22ef98d862000664757c800995d2670350a2.tar.gz
frameworks_base-acfc22ef98d862000664757c800995d2670350a2.tar.bz2
SystemUI : Add location tile from 12.1
Change-Id: I93fd420550d21161e14a817c29103cbdb358f63b
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r--packages/SystemUI/res/layout/qs_detail_items_list.xml7
-rw-r--r--packages/SystemUI/res/layout/qs_settings.xml7
2 files changed, 11 insertions, 3 deletions
diff --git a/packages/SystemUI/res/layout/qs_detail_items_list.xml b/packages/SystemUI/res/layout/qs_detail_items_list.xml
index 535f28d..09021f9 100644
--- a/packages/SystemUI/res/layout/qs_detail_items_list.xml
+++ b/packages/SystemUI/res/layout/qs_detail_items_list.xml
@@ -25,16 +25,17 @@
<ListView
android:id="@android:id/list"
+ android:divider="@null"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" />
<LinearLayout
android:id="@android:id/empty"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_gravity="center"
- android:gravity="center_horizontal"
+ android:gravity="center"
android:orientation="vertical" >
<ImageView
diff --git a/packages/SystemUI/res/layout/qs_settings.xml b/packages/SystemUI/res/layout/qs_settings.xml
index 8f965ea..759275a 100644
--- a/packages/SystemUI/res/layout/qs_settings.xml
+++ b/packages/SystemUI/res/layout/qs_settings.xml
@@ -57,6 +57,13 @@
systemui:defaultValue="1"
systemui:table="cm_secure" />
+ <com.android.systemui.qs.QSBooleanSettingRow
+ style="@style/SettingRow"
+ android:title="@string/quick_settings_title_advanced_location"
+ android:key="qs_location_advanced"
+ systemui:defaultValue="0"
+ systemui:table="cm_secure" />
+
<LinearLayout
android:id="@+id/reset_tiles"
style="@style/SettingRow">