From 51ec59dd1fa73937259631fe2ea3fd883cd94ec0 Mon Sep 17 00:00:00 2001 From: helencheuk Date: Tue, 19 Mar 2024 18:01:12 +0000 Subject: [PATCH] Disable default focus highlight for Folder to fix the incorrect border issue Agreed with UX that removing visible focus on first ESC keypress is the expected behaviour So it is disabled in this CL to avoid the square corner focus state Bug: 329892471 Test: Manual Flag: N/A Change-Id: I721bf0916374842c582b6b6523cc4cd5ce78fc02 --- res/layout/user_folder_icon_normalized.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/res/layout/user_folder_icon_normalized.xml b/res/layout/user_folder_icon_normalized.xml index 31f4870b78..43a8aac8b2 100644 --- a/res/layout/user_folder_icon_normalized.xml +++ b/res/layout/user_folder_icon_normalized.xml @@ -18,6 +18,7 @@ xmlns:launcher="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:defaultFocusHighlightEnabled="false" android:orientation="vertical" >