From ae7e03440c2e5577c7adbb5204f8787928907a98 Mon Sep 17 00:00:00 2001 From: Ats Jenk Date: Tue, 14 Feb 2023 14:40:07 -0800 Subject: [PATCH] Add support for showing border for desktop tile When a external keyboard is connected and ENABLE_KEYBOARD_QUICK_SWITCH feature flag is enabled, we highlight the selected tile in overview. Add support to the new desktop tile to show the highlight. Bug: 269342116 Test: connect an external keyboard, use alt+tab to open overview and switch between the tiles Change-Id: I29ac5864776a9a251ecdb0cb4b741b12747de564 --- quickstep/res/layout/task_desktop.xml | 5 ++++- .../src/com/android/quickstep/views/DesktopTaskView.java | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/quickstep/res/layout/task_desktop.xml b/quickstep/res/layout/task_desktop.xml index 96aabb4dfc..2ec9d4ceee 100644 --- a/quickstep/res/layout/task_desktop.xml +++ b/quickstep/res/layout/task_desktop.xml @@ -17,12 +17,15 @@ + android:focusable="true" + launcher:borderColor="?androidprv:attr/colorAccentSecondaryVariant">