From 1f5b109886987391ecbec8394f50815d35bd5dac Mon Sep 17 00:00:00 2001 From: Nicolas Bourdin Date: Fri, 1 Nov 2024 14:22:29 +0100 Subject: [PATCH] feat: Allow to switch drive with keyboard navigation --- app/src/main/res/layout/layout_switch_drive.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/layout_switch_drive.xml b/app/src/main/res/layout/layout_switch_drive.xml index e1986dd05a..61e093fb78 100644 --- a/app/src/main/res/layout/layout_switch_drive.xml +++ b/app/src/main/res/layout/layout_switch_drive.xml @@ -34,6 +34,7 @@ android:clickable="false" android:contentDescription="@string/buttonSwitchDrive" android:ellipsize="end" + android:focusable="false" android:fontFamily="@font/suisseintl_bold" android:gravity="start|center" android:lineSpacingMultiplier="1" @@ -58,6 +59,7 @@ style="@style/TextButton" android:layout_width="0dp" android:layout_height="0dp" + android:focusable="true" app:backgroundTint="@android:color/transparent" app:layout_constraintBottom_toBottomOf="@id/switchDriveButton" app:layout_constraintEnd_toEndOf="@id/maxRippleEnd"