diff options
| -rw-r--r-- | app/build.gradle.kts | 1 | ||||
| -rw-r--r-- | app/src/main/res/layout/git_credential_layout.xml | 15 | ||||
| -rw-r--r-- | 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 --> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" + android:orientation="vertical" android:padding="16dp"> <com.google.android.material.textfield.TextInputLayout @@ -15,10 +16,7 @@ android:layout_height="wrap_content" app:endIconMode="password_toggle" app:errorEnabled="true" - app:hintEnabled="true" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"> + app:hintEnabled="true"> <com.google.android.material.textfield.TextInputEditText android:id="@+id/git_auth_credential" @@ -35,8 +33,5 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/git_operation_remember_passphrase" - app:checkedState="checked" - app:layout_constraintRight_toRightOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/git_auth_passphrase_layout" /> -</androidx.constraintlayout.widget.ConstraintLayout> + app:checkedState="checked" /> +</LinearLayout> 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" |
