Add footer preference into caption preferences

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

Bug: 135888603
Test: Visual
Change-Id: I95e0aa301eba7343fbc798cc406c0242f4f4eb7e
This commit is contained in:
Kevin Chang
2019-07-01 14:51:36 +08:00
parent 32600e06d1
commit 8f4b8b9a74
2 changed files with 6 additions and 0 deletions

View File

@@ -4950,6 +4950,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

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