Browse code

Initial commit (losing old history)

Dario Rodriguez authored on 08/04/2026 17:25:38
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,86 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+  ~ Copyright (c) 2023 Samson Achiaga
4
+  ~
5
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
6
+  ~ you may not use this file except in compliance with the License.
7
+  ~ You may obtain a copy of the License at
8
+  ~
9
+  ~     http://www.apache.org/licenses/LICENSE-2.0
10
+  ~
11
+  ~ Unless required by applicable law or agreed to in writing, software
12
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
13
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+  ~ See the License for the specific language governing permissions and
15
+  ~ limitations under the License.
16
+  -->
17
+
18
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
19
+    xmlns:app="http://schemas.android.com/apk/res-auto"
20
+    xmlns:tools="http://schemas.android.com/tools"
21
+    android:layout_width="match_parent"
22
+    android:layout_height="match_parent"
23
+    android:background="@color/fragment_background"
24
+    tools:context=".ui.OnboardingFragment">
25
+
26
+    <androidx.viewpager2.widget.ViewPager2
27
+        android:id="@+id/view_pager"
28
+        android:layout_width="0dp"
29
+        android:layout_height="0dp"
30
+        android:layout_marginTop="16dp"
31
+        android:layout_marginBottom="16dp"
32
+        app:layout_constraintBottom_toTopOf="@+id/btn_get_started"
33
+        app:layout_constraintEnd_toEndOf="parent"
34
+        app:layout_constraintHorizontal_bias="0.0"
35
+        app:layout_constraintStart_toStartOf="parent"
36
+        app:layout_constraintTop_toTopOf="parent"
37
+        app:layout_constraintVertical_bias="0.0" />
38
+
39
+    <com.google.android.material.button.MaterialButton
40
+        android:id="@+id/btn_get_started"
41
+        android:layout_width="0dp"
42
+        android:layout_height="wrap_content"
43
+        android:layout_marginBottom="@dimen/_16sdp"
44
+        android:backgroundTint="@color/primary_dark"
45
+        android:fontFamily="@font/open_sans_semi_bold"
46
+        android:text="@string/get_started"
47
+        android:textSize="@dimen/_14ssp"
48
+        android:textAllCaps="false"
49
+        android:textColor="@color/black_day_white_night"
50
+        app:layout_constraintBottom_toTopOf="@+id/indicator"
51
+        app:layout_constraintEnd_toStartOf="@+id/guideline5"
52
+        app:layout_constraintStart_toStartOf="@+id/guideline4" />
53
+
54
+    <com.rd.PageIndicatorView
55
+        android:id="@+id/indicator"
56
+        android:layout_width="wrap_content"
57
+        android:layout_height="wrap_content"
58
+        android:layout_marginBottom="@dimen/_64sdp"
59
+        android:background="@android:color/transparent"
60
+        app:layout_constraintBottom_toBottomOf="parent"
61
+        app:layout_constraintEnd_toEndOf="@+id/btn_get_started"
62
+        app:layout_constraintStart_toStartOf="@+id/btn_get_started"
63
+        app:piv_animationType="worm"
64
+        app:piv_count="3"
65
+        app:piv_dynamicCount="true"
66
+        app:piv_interactiveAnimation="true"
67
+        app:piv_padding="6dp"
68
+        app:piv_selectedColor="@color/primary_dark"
69
+        app:piv_unselectedColor="@color/grey"
70
+        app:piv_viewPager="@id/view_pager" />
71
+
72
+    <androidx.constraintlayout.widget.Guideline
73
+        android:id="@+id/guideline4"
74
+        android:layout_width="wrap_content"
75
+        android:layout_height="wrap_content"
76
+        android:orientation="vertical"
77
+        app:layout_constraintGuide_percent=".3"/>
78
+
79
+    <androidx.constraintlayout.widget.Guideline
80
+        android:id="@+id/guideline5"
81
+        android:layout_width="wrap_content"
82
+        android:layout_height="wrap_content"
83
+        android:orientation="vertical"
84
+        app:layout_constraintGuide_percent=".7"/>
85
+
86
+</androidx.constraintlayout.widget.ConstraintLayout>
0 87
\ No newline at end of file