Files
app_Settings/res/xml/user_details.xml
Amith Yamasani 48fa857c92 UI to add a photo to a user's profile.
Photo will be shown in user management screen and switcher.

Change-Id: Icc0a39487daae13530fc1741780fb42fee0dada4
2012-06-12 18:18:40 -07:00

74 lines
2.8 KiB
XML

<?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"
/>
<Preference
android:key="user_picture"
android:title="@string/user_picture_title"
android:persistent="false"
/>
</PreferenceCategory>
<PreferenceCategory
android:key="restrictions_category"
android:title="@string/user_restrictions_heading">
<Preference
android:key="associated_account"
android:title="@string/user_account_title"
android:enabled="false"
android:persistent="false"
/>
<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>