summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2022-05-18 14:26:36 -0400
committer Miranda Kephart <mkephart@google.com> 2022-05-18 14:26:36 -0400
commit2012a969eacaa0cc732c70d7bc2ddfa863758afc (patch)
treef23635f39e307e91beb534b2bc6c2eb2ac3cc6fc
parentbd767e19e730bf969a0aa6f28d8fa2864936bc18 (diff)
Clipboard accessibility fixes
Update the dismiss button content description and increase minimum height of text editor text box. Bug: 232490608 Bug: 232500944 Fix: 232490608 Fix: 232500944 Test: manual Change-Id: Iccc931a095864b33c53ddff86c75554b612838fe
-rw-r--r--packages/SystemUI/res/layout/clipboard_edit_text_activity.xml1
-rw-r--r--packages/SystemUI/res/values/strings.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml b/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml
index 1c09e81f92ca..18f870d27772 100644
--- a/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml
+++ b/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml
@@ -58,6 +58,7 @@
android:id="@+id/edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:minHeight="48dp"
android:background="@null"
android:gravity="start|top"
android:textSize="24sp" />
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml
index 2c3d947ba9e2..f48866bb05ba 100644
--- a/packages/SystemUI/res/values/strings.xml
+++ b/packages/SystemUI/res/values/strings.xml
@@ -2475,7 +2475,7 @@
<!-- Text informing user where text being edited was copied from [CHAR LIMIT=NONE] -->
<string name="clipboard_edit_source">From <xliff:g id="appName" example="Gmail">%1$s</xliff:g></string>
<!-- Label for button to dismiss clipboard overlay [CHAR LIMIT=NONE] -->
- <string name="clipboard_dismiss_description">Dismiss copy UI</string>
+ <string name="clipboard_dismiss_description">Dismiss copied text</string>
<!-- Label for button to edit text that was copied to the clipboard [CHAR LIMIT=NONE] -->
<string name="clipboard_edit_text_description">Edit copied text</string>
<!-- Label for button to edit an image that was copied to the clipboard [CHAR LIMIT=NONE] -->