summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-06-11 18:22:52 -0700
committerAdrian Roos <roosa@google.com>2015-06-12 01:37:47 +0000
commit1b5eb97ae651cd1e70009d3f9bbe91da804a457a (patch)
tree30eae51df19f1e7a0157adea5b68815c729110f9 /packages/SystemUI/res
parent55fd0a702d5bb346efb3a149b3cbaba4dc5952b2 (diff)
downloadframeworks_base-1b5eb97ae651cd1e70009d3f9bbe91da804a457a.zip
frameworks_base-1b5eb97ae651cd1e70009d3f9bbe91da804a457a.tar.gz
frameworks_base-1b5eb97ae651cd1e70009d3f9bbe91da804a457a.tar.bz2
Accessibility improvements
- label the "no sims" icon - label the "managed profile" icon Bug: 21165217 Change-Id: I3e809d1a857eea12b613f09ae5265e785d372ec3
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r--packages/SystemUI/res/layout/signal_cluster_view.xml4
-rw-r--r--packages/SystemUI/res/values/strings.xml6
2 files changed, 9 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/signal_cluster_view.xml b/packages/SystemUI/res/layout/signal_cluster_view.xml
index 69dcad2..a2121ee 100644
--- a/packages/SystemUI/res/layout/signal_cluster_view.xml
+++ b/packages/SystemUI/res/layout/signal_cluster_view.xml
@@ -84,8 +84,10 @@
>
</LinearLayout>
<FrameLayout
+ android:id="@+id/no_sims_combo"
android:layout_height="wrap_content"
- android:layout_width="wrap_content">
+ android:layout_width="wrap_content"
+ android:contentDescription="@string/accessibility_no_sims">
<com.android.systemui.statusbar.AlphaOptimizedImageView
android:theme="@style/DualToneLightTheme"
android:id="@+id/no_sims"
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml
index a0b70f0..47c642d 100644
--- a/packages/SystemUI/res/values/strings.xml
+++ b/packages/SystemUI/res/values/strings.xml
@@ -374,6 +374,9 @@
<!-- Content description of the airplane mode icon for accessibility (not shown on the screen). [CHAR LIMIT=NONE] -->
<string name="accessibility_airplane_mode">Airplane mode.</string>
+ <!-- Content description of the no sim icon for accessibility (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_no_sims">No SIM card.</string>
+
<!-- Content description of the carrier network changing icon for accessibility (not shown on the screen). [CHAR LIMIT=NONE] -->
<string name="accessibility_carrier_network_change_mode">Carrier network changing.</string>
@@ -1099,4 +1102,7 @@
<!-- Accessibility label for hotspot icon [CHAR LIMIT=NONE] -->
<string name="accessibility_status_bar_hotspot">Hotspot</string>
+ <!-- Accessibility label for managed profile icon (not shown on screen) [CHAR LIMIT=NONE] -->
+ <string name="accessibility_managed_profile">Work profile</string>
+
</resources>