From 5123ce5417716bedac970ba34432cf7d43d64d62 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 17 Aug 2023 12:47:44 +0200 Subject: Fix slider movements changing input focus The slider was repeatedly sending arrow keys, which change the focused input when the end of a text box is hit. A new key is added that implements cursor movements using the `InputConnection` API. The new keys are defined as `KeyValue.Editing`, which are no longer only context menu actions. The behavior when a selection has started is changed. The selection is modified instead of cleared even when shift isn't pressed or the selection would become empty. Fallbacks to sending arrow keys for editors that do not support the API, like Termux. --- res/xml/bottom_row.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res') diff --git a/res/xml/bottom_row.xml b/res/xml/bottom_row.xml index ea7b814..b51ca2d 100644 --- a/res/xml/bottom_row.xml +++ b/res/xml/bottom_row.xml @@ -2,7 +2,7 @@ - + -- cgit v1.2.3