From e4a272b125a1ef447e6edd5a3df57a9d5cc4ddf7 Mon Sep 17 00:00:00 2001 From: jacques Date: Wed, 5 Oct 2022 10:18:51 +0200 Subject: [PATCH 1/2] Androix.ConstraintLayout Ugrade other dependencies --- app/build.gradle | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 34ba745..d7f4f24 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -30,7 +30,7 @@ android { keyPassword secretProperties['signing_key_password'] } } - compileSdk 31 + compileSdk 33 defaultConfig { applicationId "net.foucry.pilldroid" @@ -97,21 +97,22 @@ sourceSets { } } dependencies { - implementation "androidx.room:room-common:2.4.2" - annotationProcessor "androidx.room:room-compiler:2.4.2" - implementation "androidx.room:room-testing:2.4.2" - implementation "androidx.room:room-rxjava3:2.4.2" - implementation "androidx.room:room-runtime:2.4.2" + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' + implementation "androidx.room:room-common:2.4.3" + annotationProcessor "androidx.room:room-compiler:2.4.3" + implementation "androidx.room:room-testing:2.4.3" + implementation "androidx.room:room-rxjava3:2.4.3" + implementation "androidx.room:room-runtime:2.4.3" implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.13.2' - implementation 'androidx.appcompat:appcompat:1.4.2' + implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'com.google.android.material:material:1.6.1' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.journeyapps:zxing-android-embedded:4.3.0' - implementation 'androidx.core:core:1.8.0' + implementation 'androidx.core:core:1.9.0' - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.2.0' + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.0' } \ No newline at end of file From 637e8e7e7ebdde91989a5100f0f0f7f956614a7c Mon Sep 17 00:00:00 2001 From: jacques Date: Wed, 5 Oct 2022 10:19:51 +0200 Subject: [PATCH 2/2] Create DialogMnuel entrie with contraints --- app/src/main/res/layout/input_dialog.xml | 73 +++++++++++++++--------- 1 file changed, 47 insertions(+), 26 deletions(-) diff --git a/app/src/main/res/layout/input_dialog.xml b/app/src/main/res/layout/input_dialog.xml index d026ec5..7346d73 100644 --- a/app/src/main/res/layout/input_dialog.xml +++ b/app/src/main/res/layout/input_dialog.xml @@ -1,41 +1,62 @@ - - - + android:textAppearance="?android:attr/textAppearanceMedium" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> - \ No newline at end of file + android:textSize="24sp" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + + + + + + + + \ No newline at end of file