Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7   
      8           http://www.apache.org/licenses/LICENSE-2.0
      9   
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <PreferenceScreen
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
     20     android:title="@string/settings_label"
     21     android:key="parent">
     22 
     23         <com.android.settings.IconPreferenceScreen
     24             android:title="@string/radio_controls_title"
     25             settings:icon="@drawable/ic_settings_wireless">
     26             <intent
     27                 android:action="android.intent.action.MAIN"
     28                 android:targetPackage="com.android.settings"
     29                 android:targetClass="com.android.settings.WirelessSettings" />
     30         </com.android.settings.IconPreferenceScreen>
     31 
     32         <com.android.settings.IconPreferenceScreen
     33             android:key="call_settings"
     34             settings:icon="@drawable/ic_settings_call"
     35             android:title="@string/call_settings_title">
     36             <intent
     37                 android:action="android.intent.action.MAIN"
     38                 android:targetPackage="com.android.phone"
     39                 android:targetClass="com.android.phone.CallFeaturesSetting" />
     40         </com.android.settings.IconPreferenceScreen>
     41 
     42         <!-- Sound -->
     43 
     44         <com.android.settings.IconPreferenceScreen
     45             settings:icon="@drawable/ic_settings_sound"
     46             android:title="@string/sound_settings_title">
     47             <intent
     48                 android:action="android.intent.action.MAIN"
     49                 android:targetPackage="com.android.settings"
     50                 android:targetClass="com.android.settings.SoundSettings" />
     51         </com.android.settings.IconPreferenceScreen>
     52 
     53         <!-- Display -->
     54 
     55         <com.android.settings.IconPreferenceScreen
     56             settings:icon="@drawable/ic_settings_display"
     57             android:title="@string/display_settings_title">
     58             <intent
     59                 android:action="android.intent.action.MAIN"
     60                 android:targetPackage="com.android.settings"
     61                 android:targetClass="com.android.settings.DisplaySettings" />
     62         </com.android.settings.IconPreferenceScreen>
     63 
     64         <!-- Security & Location -->
     65 
     66         <com.android.settings.IconPreferenceScreen
     67             settings:icon="@drawable/ic_settings_security"
     68             android:title="@string/security_settings_title"
     69             android:key="security_settings">
     70             <intent
     71                 android:action="android.intent.action.MAIN"
     72                 android:targetPackage="com.android.settings"
     73                 android:targetClass="com.android.settings.SecuritySettings" />
     74         </com.android.settings.IconPreferenceScreen>
     75 
     76         <!-- Application Settings -->
     77 
     78         <com.android.settings.IconPreferenceScreen
     79             settings:icon="@drawable/ic_settings_applications"
     80             android:title="@string/applications_settings"
     81             android:key="applications_settings">
     82             <intent
     83                 android:action="android.intent.action.MAIN"
     84                 android:targetPackage="com.android.settings"
     85                 android:targetClass="com.android.settings.ApplicationSettings" />
     86         </com.android.settings.IconPreferenceScreen>
     87 
     88         <!-- Data Sync. The settings activity will ensure this is resolved to an
     89              activity on the system image, otherwise it will remove this
     90              preference. -->
     91 
     92         <com.android.settings.IconPreferenceScreen
     93             settings:icon="@drawable/ic_settings_sync"
     94             android:title="@string/sync_settings"
     95             android:key="sync_settings">
     96             <intent android:action="android.settings.SYNC_SETTINGS" />
     97         </com.android.settings.IconPreferenceScreen>
     98 
     99         <!-- Privacy -->
    100 
    101         <com.android.settings.IconPreferenceScreen
    102             settings:icon="@drawable/ic_settings_privacy"
    103             android:title="@string/privacy_settings"
    104             android:key="privacy_settings">
    105             <intent
    106                 android:action="android.intent.action.MAIN"
    107                 android:targetPackage="com.android.settings"
    108                 android:targetClass="com.android.settings.PrivacySettings" />
    109         </com.android.settings.IconPreferenceScreen>
    110 
    111         <!-- Storage -->
    112 
    113         <com.android.settings.IconPreferenceScreen 
    114             settings:icon="@drawable/ic_settings_storage"
    115             android:title="@string/storage_settings">
    116             <intent android:action="android.intent.action.MAIN"
    117                 android:targetPackage="com.android.settings"
    118                 android:targetClass="com.android.settings.deviceinfo.Memory" />
    119         </com.android.settings.IconPreferenceScreen>
    120 
    121         <!-- Search. 
    122              The settings activity will ensure that this is resolved to an
    123              activity on the system image, otherwise it will remove this
    124              preference.
    125              The intent action is the same as
    126              android.app.SearchManager.INTENT_ACTION_SEARCH_SETTINGS.
    127              -->
    128 
    129         <com.android.settings.IconPreferenceScreen
    130             settings:icon="@drawable/ic_settings_search"
    131             android:title="@string/search_settings"
    132             android:key="search_settings">
    133             <intent android:action="android.search.action.SEARCH_SETTINGS" />
    134         </com.android.settings.IconPreferenceScreen>
    135 
    136         <!-- Language -->
    137 
    138         <com.android.settings.IconPreferenceScreen
    139             settings:icon="@drawable/ic_settings_language"
    140             android:title="@string/language_settings">
    141             <intent
    142                 android:action="android.intent.action.MAIN"
    143                 android:targetPackage="com.android.settings"
    144                 android:targetClass="com.android.settings.LanguageSettings" />
    145         </com.android.settings.IconPreferenceScreen>
    146 
    147         <!-- Voice input & output -->
    148 
    149         <com.android.settings.IconPreferenceScreen
    150             settings:icon="@drawable/ic_settings_speech"
    151             android:title="@string/voice_input_output_settings">
    152             <intent
    153                 android:action="android.intent.action.MAIN"
    154                 android:targetPackage="com.android.settings"
    155                 android:targetClass="com.android.settings.VoiceInputOutputSettings" />
    156         </com.android.settings.IconPreferenceScreen>
    157 
    158         <!-- Accessibility feedback -->
    159 
    160         <com.android.settings.IconPreferenceScreen
    161             settings:icon="@drawable/ic_settings_accessibility"
    162             android:title="@string/accessibility_settings">
    163             <intent
    164                 android:action="android.intent.action.MAIN"
    165                 android:targetPackage="com.android.settings"
    166                 android:targetClass="com.android.settings.AccessibilitySettings" />
    167         </com.android.settings.IconPreferenceScreen>
    168 
    169         <!-- Dock -->
    170 
    171         <com.android.settings.IconPreferenceScreen
    172             android:key="dock_settings"
    173             settings:icon="@drawable/ic_settings_dock"
    174             android:title="@string/dock_settings">
    175             <intent
    176                 android:action="android.intent.action.MAIN"
    177                 android:targetPackage="com.android.settings"
    178                 android:targetClass="com.android.settings.DockSettings" />
    179         </com.android.settings.IconPreferenceScreen>
    180 
    181         <!-- Date & Time -->
    182 
    183         <com.android.settings.IconPreferenceScreen
    184             settings:icon="@drawable/ic_settings_date_time"
    185             android:title="@string/date_and_time_settings_title">
    186             <intent
    187                 android:action="android.intent.action.MAIN"
    188                 android:targetPackage="com.android.settings"
    189                 android:targetClass="com.android.settings.DateTimeSettings" />
    190         </com.android.settings.IconPreferenceScreen>
    191 
    192         <!-- About Device -->
    193 
    194         <com.android.settings.IconPreferenceScreen
    195             settings:icon="@drawable/ic_settings_about"
    196             android:title="@string/about_settings">
    197             <intent
    198                 android:action="android.intent.action.MAIN"
    199                 android:targetPackage="com.android.settings"
    200                 android:targetClass="com.android.settings.DeviceInfoSettings" />
    201         </com.android.settings.IconPreferenceScreen>
    202 
    203 </PreferenceScreen>
    204