summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_setup.xml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-08-02 12:34:45 +0200
committercyBerta <cyberta@riseup.net>2023-08-02 12:34:45 +0200
commit0fa7ae499185fefa732a7bc02a8e22ea5da92ec7 (patch)
treeb58819fabfa2f90a54caa62f061a3314ecc22ebe /app/src/main/res/layout/activity_setup.xml
parentdfe7a28d7a1fcabfdc6d493b29a558da9b0add46 (diff)
* Implenting permissionn fragments
* refactoring fragments, use of a base fragment to deduplicate code * improve SetupViewPagerAdapter by implementing a factory that hands out the reuired fragments in the correct order * very basic setup success fragment ("You're all set!")
Diffstat (limited to 'app/src/main/res/layout/activity_setup.xml')
-rw-r--r--app/src/main/res/layout/activity_setup.xml33
1 files changed, 28 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_setup.xml b/app/src/main/res/layout/activity_setup.xml
index 770b8ab3..bb1682d7 100644
--- a/app/src/main/res/layout/activity_setup.xml
+++ b/app/src/main/res/layout/activity_setup.xml
@@ -47,7 +47,6 @@
android:layout_margin="4dp"
>
<View
- android:id="@+id/indicator1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorPrimary"/>
@@ -60,7 +59,6 @@
android:layout_margin="4dp"
>
<View
- android:id="@+id/indicator2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorPrimary"/>
@@ -73,7 +71,6 @@
android:layout_margin="4dp"
>
<View
- android:id="@+id/indicator3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorPrimary"/>
@@ -84,9 +81,9 @@
app:cardCornerRadius="6dp"
app:cardElevation="0dp"
android:layout_margin="4dp"
+ android:visibility="gone"
>
<View
- android:id="@+id/indicator4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorPrimary"/>
@@ -97,9 +94,35 @@
app:cardCornerRadius="6dp"
app:cardElevation="0dp"
android:layout_margin="4dp"
+ android:visibility="gone"
+ >
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/colorPrimary"/>
+ </androidx.cardview.widget.CardView>
+ <androidx.cardview.widget.CardView
+ android:layout_width="12dp"
+ android:layout_height="12dp"
+ app:cardCornerRadius="6dp"
+ app:cardElevation="0dp"
+ android:layout_margin="4dp"
+ android:visibility="gone"
+ >
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/colorPrimary"/>
+ </androidx.cardview.widget.CardView>
+ <androidx.cardview.widget.CardView
+ android:layout_width="12dp"
+ android:layout_height="12dp"
+ app:cardCornerRadius="6dp"
+ app:cardElevation="0dp"
+ android:layout_margin="4dp"
+ android:visibility="gone"
>
<View
- android:id="@+id/indicator5"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorPrimary"/>