Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3 /*
      4  * Copyright 2008, The Android Open Source Project
      5  *
      6  * Licensed under the Apache License, Version 2.0 (the "License");
      7  * you may not use this file except in compliance with the License.
      8  * You may obtain a copy of the License at
      9  *
     10  *     http://www.apache.org/licenses/LICENSE-2.0
     11  *
     12  * Unless required by applicable law or agreed to in writing, software
     13  * distributed under the License is distributed on an "AS IS" BASIS,
     14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15  * See the License for the specific language governing permissions and
     16  * limitations under the License.
     17  */
     18 -->
     19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
     20 
     21     <PreferenceCategory
     22         android:title="@string/device_info_title">
     23 
     24         <PreferenceScreen android:key="battery_history_settings"
     25                 android:title="@string/title_battery_history" 
     26                 android:summary="@string/summary_battery_history">
     27             <intent android:action="android.intent.action.MAIN"
     28                     android:targetPackage="com.android.settings"
     29                     android:targetClass="com.android.settings.fuelgauge.PowerUsageSummary" />
     30         </PreferenceScreen>
     31         
     32         <PreferenceScreen android:key="battery_information_settings"
     33                 android:title="@string/title_battery_information" 
     34                 android:summary="@string/summary_battery_information">
     35             <intent android:action="android.intent.action.MAIN"
     36                     android:targetPackage="com.android.settings"
     37                     android:targetClass="com.android.settings.BatteryInfo" />
     38         </PreferenceScreen>
     39         
     40         <PreferenceScreen android:key="usage_statistics_settings"
     41                 android:title="@string/title_usage_statistics" 
     42                 android:summary="@string/summary_usage_statistics">
     43             <intent android:action="android.intent.action.MAIN"
     44                     android:targetPackage="com.android.settings"
     45                     android:targetClass="com.android.settings.UsageStats" />
     46         </PreferenceScreen>
     47         
     48     </PreferenceCategory>
     49             
     50     <PreferenceCategory
     51         android:title="@string/general_title">
     52         
     53         <ListPreference
     54                 android:key="window_animations"
     55                 android:title="@string/title_window_animations"
     56                 android:summary="@string/summary_window_animations"
     57                 android:entries="@array/entries_animations"
     58                 android:entryValues="@array/entryvalues_animations"
     59                 android:dialogTitle="@string/dialog_title_window_animations" />
     60                 
     61         <ListPreference
     62                 android:key="transition_animations"
     63                 android:title="@string/title_transition_animations"
     64                 android:summary="@string/summary_transition_animations"
     65                 android:entries="@array/entries_animations"
     66                 android:entryValues="@array/entryvalues_animations"
     67                 android:dialogTitle="@string/dialog_title_transition_animations" />
     68         
     69         <CheckBoxPreference 
     70             android:key="fancy_ime_animations" 
     71             android:title="@string/title_fancy_ime_animations" 
     72             android:summaryOn="@string/summary_on_fancy_ime_animations"
     73             android:summaryOff="@string/summary_off_fancy_ime_animations"/>
     74         
     75         <ListPreference
     76                 android:key="font_size"
     77                 android:title="@string/title_font_size"
     78                 android:summary="@string/summary_font_size"
     79                 android:entries="@array/entries_font_size"
     80                 android:entryValues="@array/entryvalues_font_size"
     81                 android:dialogTitle="@string/dialog_title_font_size" />
     82         
     83         <ListPreference
     84                 android:key="end_button"
     85                 android:title="@string/title_end_button"
     86                 android:summary="@string/summary_end_button"
     87                 android:entries="@array/entries_end_button"
     88                 android:entryValues="@array/entryvalues_end_button"
     89                 android:dialogTitle="@string/dialog_title_end_button" />
     90         
     91         <CheckBoxPreference 
     92             android:key="haptic_feedback" 
     93             android:title="@string/title_haptic_feedback" 
     94             android:summaryOn="@string/summary_on_haptic_feedback"
     95             android:summaryOff="@string/summary_off_haptic_feedback"/>
     96         
     97 
     98         <CheckBoxPreference
     99                 android:key="compatibility_mode"
    100                 android:title="@string/compatibility_mode_title"
    101                 android:summaryOn="@string/compatibility_mode_summary_on"
    102                 android:summaryOff="@string/compatibility_mode_summary_off" />
    103     </PreferenceCategory>
    104 
    105 </PreferenceScreen>
    106