From 799c4dfae8601f8da69cebce2829237dae628a9e Mon Sep 17 00:00:00 2001 From: eddy Date: Thu, 30 Jul 2026 22:17:00 +0200 Subject: [PATCH] chore: bump compileSdk/targetSdk to 36, fix layout fitsSystemWindows --- android/app/build.gradle | 4 +- .../app/src/main/res/layout/activity_main.xml | 100 ++++---- .../src/main/res/layout/activity_settings.xml | 233 +++++++++--------- 3 files changed, 177 insertions(+), 160 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 4331f86..3e3b80c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -11,7 +11,7 @@ android { // compileSdk/targetSdk stays on 34 (Android 14) by deliberate choice. The target audience // consists of physically disabled users who are very reluctant to update their phones. Staying // on API 34 maximises device compatibility. Re-evaluate when the user base has migrated. - compileSdk 34 + compileSdk 36 if (hasSigningConfig) { def props = new Properties() @@ -30,7 +30,7 @@ android { defaultConfig { applicationId "nl.eddydevink.sylda" minSdk 26 - targetSdk 34 + targetSdk 36 versionCode 1 versionName "1.0" buildConfigField "String", "BUILD_NUMBER", "\"${new java.text.SimpleDateFormat("yyyyMMddHHmmss").format(new Date())}\"" diff --git a/android/app/src/main/res/layout/activity_main.xml b/android/app/src/main/res/layout/activity_main.xml index 1219dc9..730ca59 100644 --- a/android/app/src/main/res/layout/activity_main.xml +++ b/android/app/src/main/res/layout/activity_main.xml @@ -2,69 +2,77 @@ + android:fitsSystemWindows="true"> + + - + + + + + + android:layout_gravity="center" + android:orientation="horizontal" + android:gravity="center"> - - +