Files
android_development/samples/AppLimits/res/xml/custom_prefs.xml
Amith Yamasani 447d1e3d6c App limits sample
Shows how to expose app restrictions for both simple types
and custom intents.

Change-Id: I95d422d1d637bd4bdb4f731d862975a160b65a50
2013-03-29 18:45:37 -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="custom"
android:title="@string/custom_or_not_title" />
<ListPreference android:key="choice"
android:title="@string/choice_entry_title"
android:entries="@array/choice_entry_entries"
android:entryValues="@array/choice_entry_values" />
<MultiSelectListPreference android:key="multi"
android:title="@string/multi_entry_title"
android:entries="@array/multi_entry_entries"
android:entryValues="@array/multi_entry_values" />
</PreferenceScreen>