|
26 | 26 | app:layout_constraintStart_toStartOf="parent" |
27 | 27 | app:layout_constraintTop_toBottomOf="@id/top_app_bar"> |
28 | 28 |
|
29 | | - <androidx.constraintlayout.widget.ConstraintLayout |
| 29 | + <androidx.appcompat.widget.LinearLayoutCompat |
30 | 30 | android:layout_width="match_parent" |
31 | | - android:layout_height="wrap_content"> |
| 31 | + android:layout_height="wrap_content" |
| 32 | + android:orientation="vertical" |
| 33 | + android:paddingHorizontal="24dp" |
| 34 | + android:paddingTop="24dp" |
| 35 | + android:paddingBottom="24dp"> |
32 | 36 |
|
33 | 37 | <com.google.android.material.textview.MaterialTextView |
34 | 38 | android:id="@+id/text_view_first_step" |
35 | 39 | android:layout_width="wrap_content" |
36 | 40 | android:layout_height="wrap_content" |
37 | | - android:layout_margin="24dp" |
38 | 41 | android:text="@string/step1" |
39 | 42 | android:textAppearance="@style/TextAppearance.TitleLargeEmphasized" |
40 | | - android:textColor="?attr/colorSecondary" |
41 | | - app:layout_constraintStart_toStartOf="parent" |
42 | | - app:layout_constraintTop_toTopOf="parent" /> |
| 43 | + android:textColor="?attr/colorSecondary" /> |
43 | 44 |
|
44 | 45 | <com.google.android.material.textview.MaterialTextView |
45 | 46 | android:id="@+id/text_view_first_step_summary" |
46 | 47 | android:layout_width="match_parent" |
47 | 48 | android:layout_height="wrap_content" |
48 | | - android:layout_margin="24dp" |
| 49 | + android:layout_marginTop="24dp" |
49 | 50 | android:text="@string/summary_first_step" |
50 | | - android:textAppearance="@style/TextAppearance.BodyLargeEmphasized" |
51 | | - app:layout_constraintStart_toStartOf="parent" |
52 | | - app:layout_constraintTop_toBottomOf="@id/text_view_first_step" /> |
| 51 | + android:textAppearance="@style/TextAppearance.BodyLargeEmphasized" /> |
53 | 52 |
|
54 | 53 | <com.google.android.material.card.MaterialCardView |
55 | 54 | android:id="@+id/card_view_first_step" |
56 | 55 | style="@style/Widget.Material3.CardView.Elevated" |
57 | 56 | android:layout_width="match_parent" |
58 | 57 | android:layout_height="256dp" |
59 | | - android:layout_margin="24dp" |
60 | | - app:layout_constraintEnd_toEndOf="parent" |
61 | | - app:layout_constraintStart_toStartOf="parent" |
62 | | - app:layout_constraintTop_toBottomOf="@id/text_view_first_step_summary" |
| 58 | + android:layout_marginTop="24dp" |
63 | 59 | app:shapeAppearanceOverlay="@style/ShapeTokens.Clover"> |
64 | 60 |
|
65 | 61 | <androidx.appcompat.widget.AppCompatImageView |
|
76 | 72 | android:layout_height="wrap_content" |
77 | 73 | android:layout_marginTop="24dp" |
78 | 74 | ads:adSize="MEDIUM_RECTANGLE" |
79 | | - ads:adUnitId="@string/ad_banner_unit_id" |
80 | | - app:layout_constraintTop_toBottomOf="@id/card_view_first_step" /> |
| 75 | + ads:adUnitId="@string/ad_banner_unit_id" /> |
81 | 76 |
|
82 | 77 | <com.google.android.material.textview.MaterialTextView |
83 | 78 | android:id="@+id/text_view_second_step" |
84 | 79 | android:layout_width="wrap_content" |
85 | 80 | android:layout_height="wrap_content" |
86 | | - android:layout_margin="24dp" |
| 81 | + android:layout_marginTop="24dp" |
87 | 82 | android:text="@string/step2" |
88 | 83 | android:textAppearance="@style/TextAppearance.TitleLargeEmphasized" |
89 | | - android:textColor="?attr/colorSecondary" |
90 | | - app:layout_constraintStart_toStartOf="parent" |
91 | | - app:layout_constraintTop_toBottomOf="@id/ad_view" /> |
| 84 | + android:textColor="?attr/colorSecondary" /> |
92 | 85 |
|
93 | 86 | <com.google.android.material.textview.MaterialTextView |
94 | 87 | android:id="@+id/text_view_second_step_summary" |
95 | 88 | android:layout_width="match_parent" |
96 | 89 | android:layout_height="wrap_content" |
97 | | - android:layout_margin="24dp" |
| 90 | + android:layout_marginTop="24dp" |
98 | 91 | android:text="@string/summary_second_step" |
99 | | - android:textAppearance="@style/TextAppearance.BodyLargeEmphasized" |
100 | | - app:layout_constraintStart_toStartOf="parent" |
101 | | - app:layout_constraintTop_toBottomOf="@id/text_view_second_step" /> |
| 92 | + android:textAppearance="@style/TextAppearance.BodyLargeEmphasized" /> |
102 | 93 |
|
103 | 94 | <com.google.android.material.card.MaterialCardView |
104 | 95 | android:id="@+id/card_view_second_step" |
105 | 96 | style="@style/Widget.Material3.CardView.Elevated" |
106 | 97 | android:layout_width="match_parent" |
107 | 98 | android:layout_height="256dp" |
108 | | - android:layout_margin="24dp" |
109 | | - app:layout_constraintEnd_toEndOf="parent" |
110 | | - app:layout_constraintStart_toStartOf="parent" |
111 | | - app:layout_constraintTop_toBottomOf="@id/text_view_second_step_summary" |
| 99 | + android:layout_marginTop="24dp" |
112 | 100 | app:shapeAppearanceOverlay="@style/ShapeTokens.Clover"> |
113 | 101 |
|
114 | 102 | <androidx.appcompat.widget.AppCompatImageView |
|
123 | 111 | android:id="@+id/text_view_third_step" |
124 | 112 | android:layout_width="wrap_content" |
125 | 113 | android:layout_height="wrap_content" |
126 | | - android:layout_margin="24dp" |
| 114 | + android:layout_marginTop="24dp" |
127 | 115 | android:text="@string/step3" |
128 | 116 | android:textAppearance="@style/TextAppearance.TitleLargeEmphasized" |
129 | | - android:textColor="?attr/colorSecondary" |
130 | | - app:layout_constraintStart_toStartOf="parent" |
131 | | - app:layout_constraintTop_toBottomOf="@id/card_view_second_step" /> |
| 117 | + android:textColor="?attr/colorSecondary" /> |
132 | 118 |
|
133 | 119 | <com.google.android.material.textview.MaterialTextView |
134 | 120 | android:id="@+id/text_view_third_step_summary" |
135 | 121 | android:layout_width="match_parent" |
136 | 122 | android:layout_height="wrap_content" |
137 | | - android:layout_margin="24dp" |
| 123 | + android:layout_marginTop="24dp" |
138 | 124 | android:text="@string/summary_third_step" |
139 | | - android:textAppearance="@style/TextAppearance.BodyLargeEmphasized" |
140 | | - app:layout_constraintStart_toStartOf="parent" |
141 | | - app:layout_constraintTop_toBottomOf="@id/text_view_third_step" /> |
| 125 | + android:textAppearance="@style/TextAppearance.BodyLargeEmphasized" /> |
142 | 126 |
|
143 | 127 | <com.google.android.material.card.MaterialCardView |
144 | 128 | android:id="@+id/card_view_third_step" |
145 | 129 | style="@style/Widget.Material3.CardView.Elevated" |
146 | 130 | android:layout_width="match_parent" |
147 | 131 | android:layout_height="256dp" |
148 | | - android:layout_margin="24dp" |
149 | | - app:layout_constraintEnd_toEndOf="parent" |
150 | | - app:layout_constraintStart_toStartOf="parent" |
151 | | - app:layout_constraintTop_toBottomOf="@id/text_view_third_step_summary" |
| 132 | + android:layout_marginTop="24dp" |
152 | 133 | app:shapeAppearanceOverlay="@style/ShapeTokens.Clover"> |
153 | 134 |
|
154 | 135 | <androidx.appcompat.widget.AppCompatImageView |
|
163 | 144 | android:id="@+id/lottie_animation" |
164 | 145 | android:layout_width="match_parent" |
165 | 146 | android:layout_height="match_parent" |
166 | | - app:layout_constraintTop_toBottomOf="@id/card_view_third_step" |
167 | 147 | app:lottie_autoPlay="true" |
168 | 148 | app:lottie_loop="false" |
169 | 149 | app:lottie_rawRes="@raw/anim_programmer" |
|
173 | 153 | android:id="@+id/ad_view_bottom" |
174 | 154 | android:layout_width="match_parent" |
175 | 155 | android:layout_height="wrap_content" |
176 | | - android:layout_margin="24dp" |
| 156 | + android:layout_marginTop="24dp" |
177 | 157 | ads:adSize="LARGE_BANNER" |
178 | | - ads:adUnitId="@string/ad_banner_unit_id" |
179 | | - app:layout_constraintTop_toBottomOf="@id/lottie_animation" /> |
180 | | - </androidx.constraintlayout.widget.ConstraintLayout> |
| 158 | + ads:adUnitId="@string/ad_banner_unit_id" /> |
| 159 | + </androidx.appcompat.widget.LinearLayoutCompat> |
181 | 160 | </me.zhanghai.android.fastscroll.FastScrollScrollView> |
182 | 161 | </androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments