From b3f409b60f8af9f96dccca37a88bb02e67351c37 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 4 Nov 2026 17:48:48 +0100 Subject: refactor(app): lay out the git credential prompt without ConstraintLayout The prompt was ConstraintLayout's last user: a vertical LinearLayout holds the same field and checkbox, so the dependency goes. Ids, input type and the remember box's default are unchanged. Co-Authored-By: Claude Opus 5.5 --- app/build.gradle.kts | 1 - app/src/main/res/layout/git_credential_layout.xml | 15 +++++---------- gradle/libs.versions.toml | 1 - 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 053d7478..cad899f9 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -60,7 +60,6 @@ dependencies { implementation(libs.androidx.appcompat) implementation(libs.androidx.autofill) implementation(libs.androidx.biometricKtx) - implementation(libs.androidx.constraintlayout) implementation(libs.androidx.core.ktx) implementation(libs.androidx.documentfile) // Pins androidx.fragment (FragmentActivity, BiometricPrompt): appcompat alone resolves 1.5.4. diff --git a/app/src/main/res/layout/git_credential_layout.xml b/app/src/main/res/layout/git_credential_layout.xml index 240c2d7a..8fc527e9 100644 --- a/app/src/main/res/layout/git_credential_layout.xml +++ b/app/src/main/res/layout/git_credential_layout.xml @@ -3,10 +3,11 @@ ~ SPDX-License-Identifier: GPL-3.0-only --> - + app:hintEnabled="true"> - + app:checkedState="checked" /> + diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1e3d50ea..c0a37319 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -17,7 +17,6 @@ androidx-annotation = "androidx.annotation:annotation:1.8.2" androidx-appcompat = "androidx.appcompat:appcompat:1.7.0" androidx-autofill = "androidx.autofill:autofill:1.3.0" androidx-biometricKtx = "androidx.biometric:biometric-ktx:1.2.0-alpha05" -androidx-constraintlayout = "androidx.constraintlayout:constraintlayout:2.2.2" androidx-core-ktx = "androidx.core:core-ktx:1.13.1" androidx-documentfile = "androidx.documentfile:documentfile:1.1.0" androidx-fragment-ktx = "androidx.fragment:fragment-ktx:1.8.4" -- cgit v1.2.3