Add footer preference into caption preferences

Add footer preference into caption preferences to tell users
that the setting doesn't support all apps.

Reference link of screenshot:
https://drive.google.com/file/d/1VzpWa4M-4HjlfjDNNqrEIKwo3v0y_f51/view?usp=sharing

Bug: 135888603
Test: Visual
Change-Id: I95e0aa301eba7343fbc798cc406c0242f4f4eb7e
Merged-In: I95e0aa301eba7343fbc798cc406c0242f4f4eb7e
(cherry picked from commit 8f4b8b9a74)
This commit is contained in:
Kevin Chang
2019-07-01 14:51:36 +08:00
parent 800e8a485f
commit 5277da96c2
2 changed files with 6 additions and 0 deletions

View File

@@ -4959,6 +4959,8 @@
<string name="accessibility_daltonizer_master_switch_title">Use color correction</string>
<!-- Used in the Captions settings screen to control turning on/off the feature entirely -->
<string name="accessibility_caption_master_switch_title">Use captions</string>
<!-- Used in the Captions preference to tell users that the setting doesn't support all apps. [CHAR LIMIT=NONE] -->
<string name="accessibility_caption_preference_summary">Not all apps support this setting.</string>
<!-- Button text for the accessibility dialog continue to the next screen for hearing aid. [CHAR LIMIT=32] -->
<string name="accessibility_hearingaid_instruction_continue_button">Continue</string>

View File

@@ -88,4 +88,8 @@
android:title="@string/captioning_window_opacity" />
</PreferenceCategory>
<com.android.settingslib.widget.FooterPreference
android:title="@string/accessibility_caption_preference_summary"
android:selectable="false" />
</PreferenceScreen>