From a2ac02f5926bc43c7c3135aa2eded09902115515 Mon Sep 17 00:00:00 2001 From: Pavel Baksy Date: Fri, 9 Feb 2024 01:27:26 +0100 Subject: [PATCH] Rearange layout --- app/build.gradle.kts | 5 +- app/src/main/res/layout/activity_main.xml | 98 ++++++++++++----------- 2 files changed, 55 insertions(+), 48 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4a96a5b..04ee4e8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -11,8 +11,8 @@ android { applicationId = "cz.bugsy.passwordzebra" minSdk = 29 targetSdk = 34 - versionCode = 1 - versionName = "1.0" + versionCode = 2 + versionName = "1.1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } @@ -41,7 +41,6 @@ dependencies { implementation("androidx.appcompat:appcompat:1.6.1") implementation("com.google.android.material:material:1.11.0") implementation("androidx.constraintlayout:constraintlayout:2.1.4") - implementation("com.google.android.material:material:1.11.0") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.1.5") androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index ae06196..e2b8847 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,69 +1,77 @@ - - + android:layout_marginTop="32dp" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> + android:layout_marginTop="8dp" + app:layout_constraintTop_toBottomOf="@id/infoTextView" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> + + + + + + + +