Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2013 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     19     xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
     20     android:fragment="com.android.settings.accessibility.CaptionPropertiesFragment"
     21     android:key="captioning_preference_screen"
     22     android:title="@string/accessibility_captioning_title" >
     23 
     24     <PreferenceCategory
     25         android:key="standard"
     26         android:title="@string/captioning_standard_options_title" >
     27         <com.android.settings.accessibility.LocalePreference
     28             android:key="captioning_locale"
     29             android:persistent="false"
     30             android:summary="%s"
     31             android:title="@string/captioning_locale" />
     32 
     33         <ListPreference
     34             android:entries="@array/captioning_font_size_selector_titles"
     35             android:entryValues="@array/captioning_font_size_selector_values"
     36             android:key="captioning_font_size"
     37             android:persistent="false"
     38             android:summary="%s"
     39             android:title="@string/captioning_text_size" />
     40 
     41         <com.android.settings.accessibility.PresetPreference
     42             android:key="captioning_preset"
     43             android:persistent="false"
     44             android:title="@string/captioning_preset" />
     45     </PreferenceCategory>
     46     <PreferenceCategory
     47         android:key="custom"
     48         android:title="@string/captioning_custom_options_title" >
     49         <ListPreference
     50             android:entries="@array/captioning_typeface_selector_titles"
     51             android:entryValues="@array/captioning_typeface_selector_values"
     52             android:key="captioning_typeface"
     53             android:persistent="false"
     54             android:summary="%s"
     55             android:title="@string/captioning_typeface" />
     56 
     57         <com.android.settings.accessibility.ColorPreference
     58             android:key="captioning_foreground_color"
     59             android:persistent="false"
     60             android:title="@string/captioning_foreground_color" />
     61         <com.android.settings.accessibility.ColorPreference
     62             android:key="captioning_foreground_opacity"
     63             android:persistent="false"
     64             android:title="@string/captioning_foreground_opacity" />
     65 
     66         <com.android.settings.accessibility.EdgeTypePreference
     67             android:key="captioning_edge_type"
     68             android:persistent="false"
     69             android:title="@string/captioning_edge_type" />
     70 
     71         <com.android.settings.accessibility.ColorPreference
     72             android:dependency="captioning_edge_type"
     73             android:key="captioning_edge_color"
     74             android:persistent="false"
     75             android:title="@string/captioning_edge_color" />
     76         <com.android.settings.accessibility.ColorPreference
     77             android:key="captioning_background_color"
     78             android:persistent="false"
     79             android:title="@string/captioning_background_color" />
     80         <com.android.settings.accessibility.ColorPreference
     81             android:dependency="captioning_background_color"
     82             android:key="captioning_background_opacity"
     83             android:persistent="false"
     84             android:title="@string/captioning_background_opacity" />
     85     </PreferenceCategory>
     86 
     87 </PreferenceScreen>