diff options
author | Vadim Tryshev <vadimt@google.com> | 2018-03-29 18:44:19 -0700 |
---|---|---|
committer | Vadim Tryshev <vadimt@google.com> | 2018-03-30 18:19:03 -0700 |
commit | ac2042a40a42fcdc483cad512c40291d7f41070a (patch) | |
tree | 56d1d46b44fafb173d07568ce7981312c841e1db /quickstep/res | |
parent | 3a3878979c625d3b56f982b20088ed4a3b319686 (diff) | |
download | android_packages_apps_Trebuchet-ac2042a40a42fcdc483cad512c40291d7f41070a.tar.gz android_packages_apps_Trebuchet-ac2042a40a42fcdc483cad512c40291d7f41070a.tar.bz2 android_packages_apps_Trebuchet-ac2042a40a42fcdc483cad512c40291d7f41070a.zip |
Accessibility options for a task
The list is:
Close [task]
<items from the task’s popup menu>
Also making a current task in carousel get accessibility focus. This
prevents losing focus after closing a task, and makes sense generally.
Bug: 72409756
Test: Manual
Change-Id: I2cfdfd4693a255f63417d922cb6aa4841db1d3c3
Diffstat (limited to 'quickstep/res')
-rw-r--r-- | quickstep/res/layout/task.xml | 1 | ||||
-rw-r--r-- | quickstep/res/values/strings.xml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/quickstep/res/layout/task.xml b/quickstep/res/layout/task.xml index 0ac2b1103..b8b360a48 100644 --- a/quickstep/res/layout/task.xml +++ b/quickstep/res/layout/task.xml @@ -28,5 +28,6 @@ android:id="@+id/icon" android:layout_width="@dimen/task_thumbnail_icon_size" android:layout_height="@dimen/task_thumbnail_icon_size" + android:importantForAccessibility="no" android:layout_gravity="top|center_horizontal" /> </com.android.quickstep.views.TaskView>
\ No newline at end of file diff --git a/quickstep/res/values/strings.xml b/quickstep/res/values/strings.xml index bd37a06ae..7ba91b3db 100644 --- a/quickstep/res/values/strings.xml +++ b/quickstep/res/values/strings.xml @@ -35,4 +35,7 @@ <!-- Recents: The empty recents string. [CHAR LIMIT=NONE] --> <string name="recents_empty_message">No recent items</string> + + <!-- Content description for the recent apps's accessibility option that closes it. [CHAR LIMIT=NONE] --> + <string name="accessibility_close_task">Close</string> </resources>
\ No newline at end of file |