1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4
+ xmlns : tools =" http://schemas.android.com/tools"
5
+ android : layout_width =" match_parent"
6
+ android : layout_height =" match_parent"
7
+ tools : context =" .ui.fragments.OnboardingItem2Fragment" >
8
+
9
+ <com .google.android.material.textview.MaterialTextView
10
+ android : id =" @+id/textView"
11
+ style =" @style/TextAppearance.Material3.HeadlineLarge"
12
+ android : layout_width =" wrap_content"
13
+ android : layout_height =" wrap_content"
14
+ android : text =" @string/auto_startup"
15
+ app : layout_constraintBottom_toBottomOf =" @id/guidelineBottom"
16
+ app : layout_constraintEnd_toEndOf =" @id/guidelineMiddle"
17
+ app : layout_constraintStart_toStartOf =" @id/guidelineLeft"
18
+ app : layout_constraintTop_toTopOf =" @id/guidelineTop" />
19
+
20
+ <com .google.android.material.card.MaterialCardView
21
+ style =" @style/Widget.Material3.CardView.Outlined"
22
+ android : layout_width =" 0dp"
23
+ android : layout_height =" wrap_content"
24
+ android : layout_marginStart =" 16dp"
25
+ android : clickable =" true"
26
+ android : gravity =" center"
27
+ app : cardBackgroundColor =" ?attr/colorSurfaceContainer"
28
+ app : cardCornerRadius =" 12dp"
29
+ app : layout_constraintBottom_toBottomOf =" @id/guidelineBottom"
30
+ app : layout_constraintEnd_toEndOf =" @id/guidelineRight"
31
+ app : layout_constraintStart_toStartOf =" @id/guidelineMiddle"
32
+ app : layout_constraintTop_toTopOf =" @id/guidelineTop" >
33
+
34
+ <LinearLayout
35
+ android : layout_width =" match_parent"
36
+ android : layout_height =" wrap_content"
37
+ android : orientation =" vertical"
38
+ android : padding =" 16dp" >
39
+
40
+ <LinearLayout
41
+ android : layout_width =" match_parent"
42
+ android : layout_height =" wrap_content"
43
+ android : layout_marginBottom =" 12dp"
44
+ android : gravity =" center_vertical"
45
+ android : orientation =" horizontal" >
46
+
47
+ <ImageView
48
+ android : layout_width =" 28dp"
49
+ android : layout_height =" 28dp"
50
+ android : background =" @drawable/bg_icon_rounded"
51
+ android : contentDescription =" @android:string/untitled"
52
+ android : padding =" 6dp"
53
+ android : src =" @drawable/ic_extension"
54
+ app : tint =" ?attr/colorOnPrimaryContainer" />
55
+
56
+ <com .google.android.material.textview.MaterialTextView
57
+ android : id =" @+id/title"
58
+ style =" @style/TextAppearance.Material3.TitleSmall"
59
+ android : layout_width =" wrap_content"
60
+ android : layout_height =" wrap_content"
61
+ android : layout_marginStart =" 8dp"
62
+ android : text =" @string/auto_startup_title" />
63
+
64
+ </LinearLayout >
65
+
66
+ <com .google.android.material.textview.MaterialTextView
67
+ android : id =" @+id/description"
68
+ style =" @style/TextAppearance.Material3.BodySmall"
69
+ android : layout_width =" wrap_content"
70
+ android : layout_height =" wrap_content"
71
+ android : alpha =" 0.8"
72
+ android : text =" @string/auto_startup_desc" />
73
+
74
+ </LinearLayout >
75
+ </com .google.android.material.card.MaterialCardView>
76
+
77
+ <androidx .constraintlayout.widget.Guideline
78
+ android : id =" @+id/guidelineTop"
79
+ android : layout_width =" wrap_content"
80
+ android : layout_height =" wrap_content"
81
+ android : orientation =" horizontal"
82
+ app : layout_constraintGuide_percent =" 0.03" />
83
+
84
+ <androidx .constraintlayout.widget.Guideline
85
+ android : id =" @+id/guidelineBottom"
86
+ android : layout_width =" wrap_content"
87
+ android : layout_height =" wrap_content"
88
+ android : orientation =" horizontal"
89
+ app : layout_constraintGuide_percent =" 0.7" />
90
+
91
+ <androidx .constraintlayout.widget.Guideline
92
+ android : id =" @+id/guidelineLeft"
93
+ android : layout_width =" wrap_content"
94
+ android : layout_height =" wrap_content"
95
+ android : orientation =" vertical"
96
+ app : layout_constraintGuide_percent =" 0.16" />
97
+
98
+ <androidx .constraintlayout.widget.Guideline
99
+ android : id =" @+id/guidelineMiddle"
100
+ android : layout_width =" wrap_content"
101
+ android : layout_height =" wrap_content"
102
+ android : orientation =" vertical"
103
+ app : layout_constraintGuide_percent =" 0.5" />
104
+
105
+ <androidx .constraintlayout.widget.Guideline
106
+ android : id =" @+id/guidelineRight"
107
+ android : layout_width =" wrap_content"
108
+ android : layout_height =" wrap_content"
109
+ android : orientation =" vertical"
110
+ app : layout_constraintGuide_percent =" 0.86" />
111
+
112
+ </androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments