summaryrefslogtreecommitdiffstats
path: root/res/xml/user_details.xml
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-03-25 10:12:26 -0700
committerAmith Yamasani <yamasani@google.com>2012-03-27 12:06:29 -0700
commitb810a0ddf9dd93a08789aff38901eeab9bfaf812 (patch)
tree196baf46ebbaebc14481b438d9539a92273b788d /res/xml/user_details.xml
parent7014dbca85ebb9a00b5943e57d75609023322744 (diff)
downloadpackages_apps_settings-b810a0ddf9dd93a08789aff38901eeab9bfaf812.zip
packages_apps_settings-b810a0ddf9dd93a08789aff38901eeab9bfaf812.tar.gz
packages_apps_settings-b810a0ddf9dd93a08789aff38901eeab9bfaf812.tar.bz2
User management screens
Customized Settings for restricted users - Only some top-level settings panels available User management - Primary user can add and remove users - User details screen to change name and list of enabled apps Change-Id: Ia6beb991b427197a4ec2724ca3c9222073f6cf7d
Diffstat (limited to 'res/xml/user_details.xml')
-rw-r--r--res/xml/user_details.xml62
1 files changed, 62 insertions, 0 deletions
diff --git a/res/xml/user_details.xml b/res/xml/user_details.xml
new file mode 100644
index 0000000..257eee4
--- /dev/null
+++ b/res/xml/user_details.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:title="@string/user_details_title">
+
+ <PreferenceCategory
+ android:key="information_category"
+ android:title="@string/user_information_heading">
+ <EditTextPreference
+ android:key="user_name"
+ android:title="@string/user_name_title"
+ android:persistent="false"
+ />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="restrictions_category"
+ android:title="@string/user_restrictions_heading">
+ <CheckBoxPreference
+ android:key="market_requires_pin"
+ android:title="@string/user_market_requires_pin"
+ android:persistent="false"
+ android:enabled="false"
+ />
+ <ListPreference
+ android:key="content_rating"
+ android:title="@string/user_max_content_rating"
+ android:entries="@array/user_content_ratings_entries"
+ android:entryValues="@array/user_content_ratings_values"
+ android:persistent="false"
+ android:enabled="false"
+ />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="system_apps_category"
+ android:title="@string/user_system_apps_heading">
+ <!-- Dynamically added content -->
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="market_apps_category"
+ android:title="@string/user_market_apps_heading">
+ <!-- Dynamically added content -->
+ </PreferenceCategory>
+
+</PreferenceScreen>