summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2013-12-05 11:27:40 -0800
committerAlan Viverette <alanv@google.com>2013-12-05 11:27:40 -0800
commit205cee4c1c0d0088c3a8e16093a28fa8f680d7fa (patch)
treefe5c26f7e64089cc34fde3e0a8216e4487e11e9e /res
parent3858233f89748897f66ddf1ba6d113826ebd990f (diff)
downloadpackages_apps_Settings-205cee4c1c0d0088c3a8e16093a28fa8f680d7fa.tar.gz
packages_apps_Settings-205cee4c1c0d0088c3a8e16093a28fa8f680d7fa.tar.bz2
packages_apps_Settings-205cee4c1c0d0088c3a8e16093a28fa8f680d7fa.zip
Add preference for caption text opacity
BUG: 11990225 Change-Id: Ib7dd92fd3e44931a1a4a2603effb02550b4fbc59
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/captioning_settings.xml4
2 files changed, 6 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6ab0009f4..c689deb6c 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3377,6 +3377,8 @@
<string name="captioning_background_opacity">Background opacity</string>
<!-- Title for the preference to change video caption text color. [CHAR LIMIT=35] -->
<string name="captioning_foreground_color">Text color</string>
+ <!-- Title for the preference to change video caption text opacity. [CHAR LIMIT=35] -->
+ <string name="captioning_foreground_opacity">Text opacity</string>
<!-- Title for the preference to change video caption edge color. [CHAR LIMIT=35] -->
<string name="captioning_edge_color">Edge color</string>
<!-- Title for the preference to change video caption edge type. [CHAR LIMIT=35] -->
diff --git a/res/xml/captioning_settings.xml b/res/xml/captioning_settings.xml
index 02fe51f30..d14d35217 100644
--- a/res/xml/captioning_settings.xml
+++ b/res/xml/captioning_settings.xml
@@ -58,6 +58,10 @@
android:key="captioning_foreground_color"
android:persistent="false"
android:title="@string/captioning_foreground_color" />
+ <com.android.settings.accessibility.ColorPreference
+ android:key="captioning_foreground_opacity"
+ android:persistent="false"
+ android:title="@string/captioning_foreground_opacity" />
<com.android.settings.accessibility.EdgeTypePreference
android:key="captioning_edge_type"