Upgrade to API 35

This commit is contained in:
clement
2024-07-11 17:30:38 +02:00
parent f420fc93e9
commit 7a8c574454
4 changed files with 21 additions and 15 deletions

View File

@@ -5,12 +5,12 @@ plugins {
android { android {
namespace = "com.example.busroute" namespace = "com.example.busroute"
compileSdk = 34 compileSdk = 35
defaultConfig { defaultConfig {
applicationId = "com.clement.busroute" applicationId = "com.clement.busroute"
minSdk = 26 minSdk = 26
targetSdk = 34 targetSdk = 35
versionCode = 1 versionCode = 1
versionName = "1.0" versionName = "1.0"

View File

@@ -3,7 +3,8 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent"
android:fitsSystemWindows="true">
<RelativeLayout tools:ignore="UselessParent"> <RelativeLayout tools:ignore="UselessParent">
<TableLayout <TableLayout

View File

@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent"
android:fitsSystemWindows="true">
<TableLayout <TableLayout
android:layout_width="200dp" android:layout_width="200dp"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
@@ -16,9 +18,12 @@
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:text="Entrez un nom pour la ligne (80 caractères max)" android:text="Entrez un nom pour la ligne (80 caractères max)"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
<EditText <EditText
android:id="@+id/route_name" android:id="@+id/route_name"
android:maxLength="80"/> android:maxLength="80"
android:minHeight="50dp"
tools:ignore="SpeakableTextPresentCheck" />
<Button <Button
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:id="@+id/validate_form" android:id="@+id/validate_form"
@@ -26,12 +31,10 @@
android:text="Valider"/> android:text="Valider"/>
</TableLayout> </TableLayout>
<ScrollView> <TableLayout
<TableLayout android:id="@+id/table"
android:id="@+id/table" android:layout_width="match_parent"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:clipToPadding="false"
android:clipToPadding="false" android:padding="16dp" />
android:padding="16dp" />
</ScrollView>
</TableLayout> </TableLayout>

View File

@@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent"
android:fitsSystemWindows="true">
<Spinner <Spinner
android:id="@+id/combo_path"> android:id="@+id/combo_path"
android:minHeight="50dp">
</Spinner> </Spinner>
<Button <Button
android:id="@+id/open_maps" android:id="@+id/open_maps"