Files
android_development/samples/AppRestrictions/res/xml/custom_prefs.xml
Fred Chung b71371d3af App restriction for restricted profile sample.
This sample demonstrates how to expose restrictions for a restricted user on a multiuser device.  This feature is available on Android 4.3 (API level 18) and above platforms.

Change-Id: I4ef1bbda8e530dd8370d754de814fce96eaae1f1
2013-07-21 23:19:18 -07:00

34 lines
1.3 KiB
XML

<?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.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/restrictions_activity_label">
<CheckBoxPreference android:key="pref_boolean"
android:title="@string/boolean_entry_title" />
<ListPreference android:key="pref_choice"
android:title="@string/choice_entry_title"
android:entries="@array/choice_entry_entries"
android:entryValues="@array/choice_entry_values" />
<MultiSelectListPreference android:key="pref_multi"
android:title="@string/multi_entry_title"
android:entries="@array/multi_entry_entries"
android:entryValues="@array/multi_entry_values" />
</PreferenceScreen>