diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8d8f8a3..335a63f 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -5,12 +5,12 @@ plugins { android { namespace = "com.example.busroute" - compileSdk = 34 + compileSdk = 35 defaultConfig { applicationId = "com.clement.busroute" minSdk = 26 - targetSdk = 34 + targetSdk = 35 versionCode = 1 versionName = "1.0" diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml index 108753b..5706f4e 100644 --- a/app/src/main/res/layout/main.xml +++ b/app/src/main/res/layout/main.xml @@ -3,7 +3,8 @@ xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="fill_parent" - android:layout_height="fill_parent"> + android:layout_height="fill_parent" + android:fitsSystemWindows="true"> + android:layout_height="match_parent" + android:fitsSystemWindows="true"> @@ -16,9 +18,12 @@ android:layout_marginTop="20dp" android:text="Entrez un nom pour la ligne (80 caractères max)" android:layout_height="wrap_content"/> + + android:maxLength="80" + android:minHeight="50dp" + tools:ignore="SpeakableTextPresentCheck" />