commit 4d09c6c286daf8110aba2491835deede2d1fc5c3 Author: Fabio Mazza Date: Fri Oct 24 19:51:49 2025 +0200 Fix insets in Intro Activity too diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 6ae78b2..34f967c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -55,7 +55,9 @@ android:exported="false"/> + android:exported="false" + android:theme="@style/AppTheme.NoActionBar.Light" + /> (R.id.theConstraintLayout), + this.applyBottomAndBordersInsetsListener + ) } diff --git a/app/src/main/res/layout/activity_intro.xml b/app/src/main/res/layout/activity_intro.xml index f0fc12a..92ae1c5 100644 --- a/app/src/main/res/layout/activity_intro.xml +++ b/app/src/main/res/layout/activity_intro.xml @@ -1,12 +1,16 @@ + - + android:layout_height="match_parent"> + + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent"/> + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBottom_toBottomOf="parent"/> - \ No newline at end of file + + \ No newline at end of file diff --git a/app/src/main/res/layout/default_toobar.xml b/app/src/main/res/layout/default_toobar.xml index 338a8c0..3ba935a 100644 --- a/app/src/main/res/layout/default_toobar.xml +++ b/app/src/main/res/layout/default_toobar.xml @@ -6,7 +6,7 @@ android:layout_height="?attr/actionBarSize" android:id="@+id/default_toolbar" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" - android:background="@drawable/gradient_toolbar" + android:background="?attr/colorPrimaryDark" android:fitsSystemWindows="false" android:elevation="4dp" diff --git a/app/src/main/res/values/theme.xml b/app/src/main/res/values/theme.xml index 633d3f1..8fba583 100644 --- a/app/src/main/res/values/theme.xml +++ b/app/src/main/res/values/theme.xml @@ -19,11 +19,14 @@ @color/orange_700 @color/teal_500 @color/white - + + \ No newline at end of file