1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright (C) 2013 The Android Open Source Project
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
9 http://www.apache.org/licenses/LICENSE-2.0
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.
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" >
25 android:key="standard"
26 android:title="@string/captioning_standard_options_title" >
27 <com.android.settings.accessibility.LocalePreference
28 android:key="captioning_locale"
30 android:title="@string/captioning_locale" />
33 android:entries="@array/captioning_font_size_selector_titles"
34 android:entryValues="@array/captioning_font_size_selector_values"
35 android:key="captioning_font_size"
37 android:title="@string/captioning_text_size" />
39 <com.android.settings.accessibility.PresetPreference
40 android:key="captioning_preset"
41 android:title="@string/captioning_preset" />
45 android:title="@string/captioning_custom_options_title" >
47 android:entries="@array/captioning_typeface_selector_titles"
48 android:entryValues="@array/captioning_typeface_selector_values"
49 android:key="captioning_typeface"
51 android:title="@string/captioning_typeface" />
53 <com.android.settings.accessibility.ColorPreference
54 android:key="captioning_foreground_color"
55 android:title="@string/captioning_foreground_color" />
56 <com.android.settings.accessibility.ColorPreference
57 android:dependency="captioning_foreground_color"
58 android:key="captioning_foreground_opacity"
59 android:title="@string/captioning_foreground_opacity" />
61 <com.android.settings.accessibility.EdgeTypePreference
62 android:key="captioning_edge_type"
63 android:title="@string/captioning_edge_type" />
65 <com.android.settings.accessibility.ColorPreference
66 android:dependency="captioning_edge_type"
67 android:key="captioning_edge_color"
68 android:title="@string/captioning_edge_color" />
69 <com.android.settings.accessibility.ColorPreference
70 android:key="captioning_background_color"
71 android:title="@string/captioning_background_color" />
72 <com.android.settings.accessibility.ColorPreference
73 android:dependency="captioning_background_color"
74 android:key="captioning_background_opacity"
75 android:title="@string/captioning_background_opacity" />
76 <com.android.settings.accessibility.ColorPreference
77 android:key="captioning_window_color"
78 android:title="@string/captioning_window_color" />
79 <com.android.settings.accessibility.ColorPreference
80 android:dependency="captioning_window_color"
81 android:key="captioning_window_opacity"
82 android:title="@string/captioning_window_opacity" />