|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+<RelativeLayout
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:id="@+id/setup_root"
|
|
|
@@ -8,35 +8,39 @@
|
|
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
android:id="@+id/viewPager2"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:clipToPadding="false"
|
|
|
- android:layout_marginBottom="16dp"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/button_next"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- style="@style/Widget.Material3.Button.TextButton"
|
|
|
- android:id="@+id/button_next"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_margin="12dp"
|
|
|
- android:text="@string/next"
|
|
|
- android:visibility="invisible"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintEnd_toEndOf="parent" />
|
|
|
+ android:layout_above="@+id/constraint_buttons"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:clipToPadding="false" />
|
|
|
|
|
|
- <com.google.android.material.button.MaterialButton
|
|
|
- style="@style/Widget.Material3.Button.TextButton"
|
|
|
- android:id="@+id/button_back"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/constraint_buttons"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_margin="12dp"
|
|
|
- android:text="@string/back"
|
|
|
- android:visibility="invisible"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent" />
|
|
|
+ android:layout_margin="8dp"
|
|
|
+ android:layout_alignParentBottom="true">
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/button_next"
|
|
|
+ style="@style/Widget.Material3.Button.TextButton"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/next"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/button_back"
|
|
|
+ style="@style/Widget.Material3.Button.TextButton"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/back"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+</RelativeLayout>
|