From 97355881a855c5d2503f7e518c1e30fc03f88d4e Mon Sep 17 00:00:00 2001 From: Matej Drobnič Date: Thu, 22 May 2025 23:54:13 +0200 Subject: Better support for foldable devices (#982) * Add AndroidX WindowManager unfortunately, this seems to be the only way to get fold state, native Android APIs are internal. To add this, we need to update some dependencies, raise java version and raise compile SDK. * adds separate layouts and separate layout settings for folded and unfolded state of the device. The affected settings are: + the margin bottom settings + the horizontal margin settings + the keyboard height settings * Update shell.nix --- res/values/strings.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'res/values/strings.xml') diff --git a/res/values/strings.xml b/res/values/strings.xml index e4202df..fad8b41 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5,7 +5,9 @@ Lightweight and privacy-conscious virtual keyboard for Android. The main feature is that you can type more characters by swiping the keys towards the corners.\n\nThis application was originally designed for programmers using Termux.\nNow perfect for everyday use.\n\nThis application contains no ads, doesn\'t make any network requests and is Open Source. In portrait mode + In portrait mode unfolded In landscape mode + In landscape mode unfolded Layout Adjust label brightness Adjust keyboard background opacity -- cgit v1.2.3