summaryrefslogtreecommitdiffstats
path: root/res/layout/managed_service_settings.xml
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-04-29 18:07:23 -0400
committerJohn Spurlock <jspurlock@google.com>2014-04-29 20:21:08 -0400
commitc9afadb04b00598f5988101681089290cf14f79c (patch)
treeb8ff94552572df9467b3dbfefac3aab2d1c17ff7 /res/layout/managed_service_settings.xml
parenta0ceb908bfe6d030f588455db3f3b42c9931fdea (diff)
downloadpackages_apps_Settings-c9afadb04b00598f5988101681089290cf14f79c.zip
packages_apps_Settings-c9afadb04b00598f5988101681089290cf14f79c.tar.gz
packages_apps_Settings-c9afadb04b00598f5988101681089290cf14f79c.tar.bz2
Add condition provider access to settings.
Pull NotificationAccessSettings out into a reusable base class and reuse all of it for a new condition providers settings page. As with notification listeners, the entire section is hidden if no apps provide conditions. Change-Id: Ib5273f3362e392d99647347c23a514e4590f7ac9
Diffstat (limited to 'res/layout/managed_service_settings.xml')
-rw-r--r--res/layout/managed_service_settings.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/res/layout/managed_service_settings.xml b/res/layout/managed_service_settings.xml
new file mode 100644
index 0000000..e01da59
--- /dev/null
+++ b/res/layout/managed_service_settings.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="0px"
+ android:layout_weight="1">
+ <ListView android:id="@android:id/list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:drawSelectorOnTop="false"
+ android:fastScrollEnabled="true" />
+ <TextView android:id="@android:id/empty"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+ </FrameLayout>
+</LinearLayout>