Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2015 Google Inc.
      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 xmlns:android="http://schemas.android.com/apk/res/android">
     18 
     19     <SwitchPreference
     20         android:key="pref_add_icon_to_home"
     21         android:title="@string/auto_add_shortcuts_label"
     22         android:summary="@string/auto_add_shortcuts_description"
     23         android:defaultValue="true"
     24         android:persistent="true"
     25         />
     26 
     27     <ListPreference
     28         android:key="pref_override_icon_shape"
     29         android:title="@string/icon_shape_override_label"
     30         android:summary="%s"
     31         android:entries="@array/icon_shape_override_paths_names"
     32         android:entryValues="@array/icon_shape_override_paths_values"
     33         android:defaultValue=""
     34         android:persistent="false" />
     35 
     36     <Preference
     37         android:key="pref_icon_badging"
     38         android:title="@string/icon_badging_title"
     39         android:persistent="false">
     40         <intent android:action="android.settings.NOTIFICATION_SETTINGS">
     41             <!-- This extra highlights the "Allow icon badges" field in Notification settings -->
     42             <extra
     43                 android:name=":settings:fragment_args_key"
     44                 android:value="notification_badging" />
     45         </intent>
     46     </Preference>/>
     47 
     48     <SwitchPreference
     49         android:key="pref_allowRotation"
     50         android:title="@string/allow_rotation_title"
     51         android:defaultValue="@bool/allow_rotation"
     52         android:persistent="true"
     53         />
     54 
     55 </PreferenceScreen>
     56