diff options
author | Jim Miller <jaggies@google.com> | 2013-09-24 15:54:04 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2013-09-24 15:54:04 -0700 |
commit | e38c8e28ba50d5fe7f4f2bc5fe68a9f10bafe0f0 (patch) | |
tree | 43951a104d7f5f5808dbfc8719d5b9be3b4581be /packages/Keyguard/res/layout-land | |
parent | 5f86b90b8a224e21db89bacf78d4bd4d3f44342d (diff) | |
download | frameworks_base-e38c8e28ba50d5fe7f4f2bc5fe68a9f10bafe0f0.zip frameworks_base-e38c8e28ba50d5fe7f4f2bc5fe68a9f10bafe0f0.tar.gz frameworks_base-e38c8e28ba50d5fe7f4f2bc5fe68a9f10bafe0f0.tar.bz2 |
Fix accessibility for all-caps items in keyguard
This fixes a bug where TTS on all-caps items doesn't work for
Buttons. The fix is to use translation (ala. TextView.setAllCaps()),
which just affects rendering and not the original text string.
Fix bug 10912259
Change-Id: Id8cba927819c979fe699353219d45f8b0f9f5aac
Diffstat (limited to 'packages/Keyguard/res/layout-land')
-rw-r--r-- | packages/Keyguard/res/layout-land/keyguard_status_area.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/Keyguard/res/layout-land/keyguard_status_area.xml b/packages/Keyguard/res/layout-land/keyguard_status_area.xml index 51ee740..d450c5c 100644 --- a/packages/Keyguard/res/layout-land/keyguard_status_area.xml +++ b/packages/Keyguard/res/layout-land/keyguard_status_area.xml @@ -37,6 +37,7 @@ android:ellipsize="marquee" android:textAppearance="?android:attr/textAppearanceMedium" android:textSize="@dimen/kg_status_date_font_size" + android:textAllCaps="@bool/kg_use_all_caps" /> <TextView @@ -51,6 +52,7 @@ android:textAppearance="?android:attr/textAppearance" android:textSize="@dimen/kg_status_line_font_size" android:drawablePadding="4dip" + android:textAllCaps="@bool/kg_use_all_caps" /> </LinearLayout>
\ No newline at end of file |