summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2015-06-04 08:57:56 -0700
committerVadim Tryshev <vadimt@google.com>2015-06-04 13:26:53 -0700
commitc1a6c658aee702ca9549ada9c208011a2a7cf62a (patch)
tree6d80b8fce9a15aa47d7a0a379afb44e3170b040d /packages/SystemUI/res/layout
parente56782c0f4f27c34a5959bee0cfbf00bcfdf0da9 (diff)
downloadframeworks_base-c1a6c658aee702ca9549ada9c208011a2a7cf62a.zip
frameworks_base-c1a6c658aee702ca9549ada9c208011a2a7cf62a.tar.gz
frameworks_base-c1a6c658aee702ca9549ada9c208011a2a7cf62a.tar.bz2
Processing non-long clicks on application icon.
This CL alone doens't fix the whole bug, see the bug for the AI list. In normal mode, clicking at application icon on a task view is ignored to avoid accidental clicks. To open app properties, we need a long click. In accessibility mode, we want to make it easier to open app properties, and accidental clicks are less likely. Hence, allowing "simple" clicks. Bug: 20945599 Change-Id: Iec3f911dced1eda09175500fc1e798dd09b6f9e2
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r--packages/SystemUI/res/layout/recents_task_view_header.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/recents_task_view_header.xml b/packages/SystemUI/res/layout/recents_task_view_header.xml
index 53047a3..477d9d7 100644
--- a/packages/SystemUI/res/layout/recents_task_view_header.xml
+++ b/packages/SystemUI/res/layout/recents_task_view_header.xml
@@ -21,6 +21,7 @@
android:layout_gravity="top|center_horizontal">
<com.android.systemui.recents.views.FixedSizeImageView
android:id="@+id/application_icon"
+ android:contentDescription="@string/recents_app_info_button_label"
android:layout_width="@dimen/recents_task_view_application_icon_size"
android:layout_height="@dimen/recents_task_view_application_icon_size"
android:layout_marginStart="8dp"