diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 84819f1da6d5ec20f5cd958b57dbdabeac67eac1..24299990307278b40cce45175ea2c3e92bf9c61e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -19,7 +19,8 @@ tools:targetApi="31"> <activity android:name=".MainActivity" - android:exported="true"> + android:exported="true" + android:windowSoftInputMode="adjustPan"> <intent-filter> <action android:name="android.intent.action.MAIN" /> diff --git a/app/src/main/res/layout/activity_display_user.xml b/app/src/main/res/layout/activity_display_user.xml index 11d232296c9a4356279398158db1b49dba87111a..5045b28ff26325d494578f6fa8f242c62f70bb00 100644 --- a/app/src/main/res/layout/activity_display_user.xml +++ b/app/src/main/res/layout/activity_display_user.xml @@ -6,8 +6,7 @@ android:id="@+id/displayUserActivity" android:layout_width="match_parent" android:layout_height="match_parent" - android:fitsSystemWindows="true" - tools:context=".MainActivity"> + android:fitsSystemWindows="true"> <ScrollView android:layout_width="match_parent" diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 638ace7460c2c7f4dbb0857603c9e95a44c723ba..a94586b4308bf8ba8d48ed82ce4a0ef77270eaba 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -6,14 +6,12 @@ android:id="@+id/mainActivity" android:layout_width="match_parent" android:layout_height="match_parent" - android:fitsSystemWindows="true" tools:context=".MainActivity"> - <!-- Conteneur où les fragments seront affichés dynamiquement --> - <FrameLayout + <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/fragmentContainer" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?android:attr/windowBackground"/> + android:background="?android:attr/windowBackground" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file