1010 android : id =" @+id/txt_settingsName"
1111 android : layout_width =" wrap_content"
1212 android : layout_height =" wrap_content"
13- android : layout_marginStart =" 16dp "
13+ android : layout_marginStart =" 24dp "
1414 android : layout_marginTop =" 16dp"
1515 android : text =" @string/settings"
1616 android : textColor =" ?attr/colorPrimaryVariant"
1717 android : textSize =" 22sp"
18- app : layout_constraintStart_toStartOf =" @+id/txt_settingsApplock "
18+ app : layout_constraintStart_toStartOf =" @+id/layout_settingsApplock "
1919 app : layout_constraintTop_toTopOf =" parent" />
2020
21- <TextView
22- android : id =" @+id/txt_settingsApplock"
21+ <View
2322 android : layout_width =" 0dp"
24- android : layout_height =" 70sp"
25- android : layout_marginStart =" 8dp"
26- android : layout_marginTop =" 8dp"
27- android : layout_marginEnd =" 8dp"
28- android : background =" @drawable/option_top_dark"
29- android : clickable =" true"
30- android : focusable =" true"
31- android : gravity =" start"
32- android : onClick =" applock"
33- android : paddingStart =" 16dp"
34- android : paddingTop =" 12dp"
35- android : paddingEnd =" 16dp"
36- android : text =" @string/applock"
37- android : textColor =" ?attr/colorPrimaryVariant"
38- android : textSize =" 18sp"
23+ android : layout_height =" 1dp"
24+ android : layout_marginStart =" 24dp"
25+ android : layout_marginEnd =" 24dp"
26+ android : elevation =" 20dp"
27+ android : background =" ?android:attr/listDivider"
28+ app : layout_constraintBottom_toTopOf =" @+id/layout_settingsPassGen"
3929 app : layout_constraintEnd_toEndOf =" parent"
4030 app : layout_constraintStart_toStartOf =" parent"
41- app : layout_constraintTop_toBottomOf =" @+id/txt_settingsName " />
31+ app : layout_constraintTop_toBottomOf =" @+id/layout_settingsApplock " />
4232
43- <TextView
44- android : id =" @+id/txt_settingsApplockDescription"
33+ <View
34+ android : layout_width =" 0dp"
35+ android : layout_height =" 1dp"
36+ android : layout_marginStart =" 24dp"
37+ android : layout_marginEnd =" 24dp"
38+ android : elevation =" 20dp"
39+ android : background =" ?android:attr/listDivider"
40+ app : layout_constraintBottom_toTopOf =" @+id/layout_settingsExport"
41+ app : layout_constraintEnd_toEndOf =" parent"
42+ app : layout_constraintStart_toStartOf =" parent"
43+ app : layout_constraintTop_toBottomOf =" @+id/layout_settingsImport" />
44+
45+ <androidx .constraintlayout.widget.ConstraintLayout
46+ android : id =" @+id/layout_settingsApplock"
4547 android : layout_width =" 0dp"
4648 android : layout_height =" wrap_content"
47- android : layout_marginStart =" 16dp"
48- android : layout_marginEnd =" 16dp"
49- android : layout_marginBottom =" 8dp"
50- android : text =" @string/choose_app_protection"
51- app : layout_constraintBottom_toBottomOf =" @+id/txt_settingsApplock"
52- app : layout_constraintEnd_toEndOf =" @+id/txt_settingsApplock"
53- app : layout_constraintStart_toStartOf =" @+id/txt_settingsApplock" />
49+ android : layout_marginTop =" 4dp"
50+ app : layout_constraintEnd_toEndOf =" parent"
51+ app : layout_constraintStart_toStartOf =" parent"
52+ app : layout_constraintTop_toBottomOf =" @+id/txt_settingsName" >
5453
55- <TextView
56- android : id =" @+id/txt_settingsPassGen"
54+ <ImageButton
55+ android : id =" @+id/ibt_settingsApplock"
56+ android : layout_width =" 0dp"
57+ android : layout_height =" 0dp"
58+ android : layout_marginStart =" 8dp"
59+ android : layout_marginTop =" -12dp"
60+ android : layout_marginEnd =" 8dp"
61+ android : layout_marginBottom =" -12dp"
62+ android : background =" @drawable/option_top_dark"
63+ android : contentDescription =" @string/password_generator"
64+ android : onClick =" applock"
65+ app : layout_constraintBottom_toBottomOf =" @+id/txt_settingsApplockDescription"
66+ app : layout_constraintEnd_toEndOf =" parent"
67+ app : layout_constraintStart_toStartOf =" parent"
68+ app : layout_constraintTop_toTopOf =" @+id/txt_settingsApplock" />
69+
70+ <TextView
71+ android : id =" @+id/txt_settingsApplock"
72+ android : layout_width =" wrap_content"
73+ android : layout_height =" wrap_content"
74+ android : layout_marginStart =" 16dp"
75+ android : layout_marginTop =" 12dp"
76+ android : text =" @string/applock"
77+ android : textColor =" ?attr/colorPrimaryVariant"
78+ android : textSize =" 18sp"
79+ app : layout_constraintStart_toStartOf =" @+id/ibt_settingsApplock"
80+ app : layout_constraintTop_toTopOf =" parent" />
81+
82+ <TextView
83+ android : id =" @+id/txt_settingsApplockDescription"
84+ android : layout_width =" 0dp"
85+ android : layout_height =" wrap_content"
86+ android : layout_marginTop =" 4dp"
87+ android : layout_marginEnd =" 16dp"
88+ android : text =" @string/applock_description"
89+ app : layout_constraintEnd_toEndOf =" @+id/ibt_settingsApplock"
90+ app : layout_constraintStart_toStartOf =" @+id/txt_settingsApplock"
91+ app : layout_constraintTop_toBottomOf =" @+id/txt_settingsApplock" />
92+
93+ </androidx .constraintlayout.widget.ConstraintLayout>
94+
95+
96+ <androidx .constraintlayout.widget.ConstraintLayout
97+ android : id =" @+id/layout_settingsPassGen"
5798 android : layout_width =" 0dp"
58- android : layout_height =" 70sp"
59- android : background =" @drawable/option_bottom_dark"
60- android : clickable =" true"
61- android : focusable =" true"
62- android : gravity =" start"
63- android : onClick =" passgenSettings"
64- android : paddingStart =" 16dp"
65- android : paddingTop =" 12dp"
66- android : paddingEnd =" 16dp"
67- android : text =" @string/password_generator"
68- android : textColor =" ?attr/colorPrimaryVariant"
69- android : textSize =" 18sp"
70- app : layout_constraintEnd_toEndOf =" @+id/txt_settingsApplock"
71- app : layout_constraintStart_toStartOf =" @+id/txt_settingsApplock"
72- app : layout_constraintTop_toBottomOf =" @+id/txt_settingsApplock" />
99+ android : layout_height =" wrap_content"
100+ app : layout_constraintEnd_toEndOf =" parent"
101+ app : layout_constraintStart_toStartOf =" parent"
102+ app : layout_constraintTop_toBottomOf =" @+id/layout_settingsApplock" >
73103
74- <View
75- android : id =" @+id/view"
104+ <ImageButton
105+ android : id =" @+id/ibt_settingsPassGen"
106+ android : layout_width =" 0dp"
107+ android : layout_height =" 0dp"
108+ android : layout_marginStart =" 8dp"
109+ android : layout_marginTop =" -12dp"
110+ android : layout_marginEnd =" 8dp"
111+ android : layout_marginBottom =" -12dp"
112+ android : background =" @drawable/option_bottom_dark"
113+ android : contentDescription =" @string/password_generator"
114+ android : onClick =" passgenSettings"
115+ app : layout_constraintBottom_toBottomOf =" @+id/txt_settingsPassGenDescription"
116+ app : layout_constraintEnd_toEndOf =" parent"
117+ app : layout_constraintStart_toStartOf =" parent"
118+ app : layout_constraintTop_toTopOf =" @+id/txt_settingsPassGen" />
119+
120+ <TextView
121+ android : id =" @+id/txt_settingsPassGen"
122+ android : layout_width =" wrap_content"
123+ android : layout_height =" wrap_content"
124+ android : layout_marginStart =" 16dp"
125+ android : layout_marginTop =" 12dp"
126+ android : text =" @string/password_generator"
127+ android : textColor =" ?attr/colorPrimaryVariant"
128+ android : textSize =" 18sp"
129+ app : layout_constraintStart_toStartOf =" @+id/ibt_settingsPassGen"
130+ app : layout_constraintTop_toTopOf =" parent" />
131+
132+ <TextView
133+ android : id =" @+id/txt_settingsPassGenDescription"
134+ android : layout_width =" 0dp"
135+ android : layout_height =" wrap_content"
136+ android : layout_marginTop =" 4dp"
137+ android : layout_marginEnd =" 16dp"
138+ android : text =" @string/default_settings_passgen"
139+ app : layout_constraintEnd_toEndOf =" @+id/ibt_settingsPassGen"
140+ app : layout_constraintStart_toStartOf =" @+id/txt_settingsPassGen"
141+ app : layout_constraintTop_toBottomOf =" @+id/txt_settingsPassGen" />
142+
143+ </androidx .constraintlayout.widget.ConstraintLayout>
144+
145+
146+ <androidx .constraintlayout.widget.ConstraintLayout
147+ android : id =" @+id/layout_settingsImport"
76148 android : layout_width =" 0dp"
77- android : layout_height =" 1dp"
78- android : layout_marginStart =" 14dp"
79- android : layout_marginEnd =" 14dp"
80- android : background =" ?android:attr/listDivider"
81- app : layout_constraintBottom_toBottomOf =" @+id/txt_settingsApplock"
82- app : layout_constraintEnd_toEndOf =" @+id/txt_settingsApplock"
83- app : layout_constraintStart_toStartOf =" @+id/txt_settingsApplock"
84- app : layout_constraintTop_toBottomOf =" @+id/txt_settingsApplock" />
149+ android : layout_height =" wrap_content"
150+ android : layout_marginTop =" 16dp"
151+ app : layout_constraintEnd_toEndOf =" parent"
152+ app : layout_constraintStart_toStartOf =" parent"
153+ app : layout_constraintTop_toBottomOf =" @+id/layout_settingsPassGen" >
85154
86- <TextView
87- android : id =" @+id/txt_settingsPassGenDescription"
155+ <ImageButton
156+ android : id =" @+id/ibt_settingsImport"
157+ android : layout_width =" 0dp"
158+ android : layout_height =" 0dp"
159+ android : layout_marginStart =" 8dp"
160+ android : layout_marginTop =" -12dp"
161+ android : layout_marginEnd =" 8dp"
162+ android : layout_marginBottom =" -12dp"
163+ android : onClick =" importDatabase"
164+ android : background =" @drawable/option_top_dark"
165+ android : contentDescription =" @string/import_database"
166+ app : layout_constraintBottom_toBottomOf =" @+id/txt_settingsImportDescription"
167+ app : layout_constraintEnd_toEndOf =" parent"
168+ app : layout_constraintStart_toStartOf =" parent"
169+ app : layout_constraintTop_toTopOf =" @+id/txt_settingsImport" />
170+
171+ <TextView
172+ android : id =" @+id/txt_settingsImport"
173+ android : layout_width =" wrap_content"
174+ android : layout_height =" wrap_content"
175+ android : layout_marginStart =" 16dp"
176+ android : layout_marginTop =" 12dp"
177+ android : text =" @string/import_database"
178+ android : textColor =" ?attr/colorPrimaryVariant"
179+ android : textSize =" 18sp"
180+ app : layout_constraintStart_toStartOf =" @+id/ibt_settingsImport"
181+ app : layout_constraintTop_toTopOf =" parent" />
182+
183+ <TextView
184+ android : id =" @+id/txt_settingsImportDescription"
185+ android : layout_width =" 0dp"
186+ android : layout_height =" wrap_content"
187+ android : layout_marginTop =" 4dp"
188+ android : layout_marginEnd =" 16dp"
189+ android : text =" @string/import_entries"
190+ app : layout_constraintEnd_toEndOf =" @+id/ibt_settingsImport"
191+ app : layout_constraintStart_toStartOf =" @+id/txt_settingsImport"
192+ app : layout_constraintTop_toBottomOf =" @+id/txt_settingsImport" />
193+ </androidx .constraintlayout.widget.ConstraintLayout>
194+
195+
196+ <androidx .constraintlayout.widget.ConstraintLayout
197+ android : id =" @+id/layout_settingsExport"
88198 android : layout_width =" 0dp"
89199 android : layout_height =" wrap_content"
90- android : layout_marginStart =" 16dp"
91- android : layout_marginEnd =" 16dp"
92- android : layout_marginBottom =" 8dp"
93- android : text =" @string/default_settings_passgen"
94- app : layout_constraintBottom_toBottomOf =" @+id/txt_settingsPassGen"
95- app : layout_constraintEnd_toEndOf =" @+id/txt_settingsPassGen"
96- app : layout_constraintStart_toStartOf =" @+id/txt_settingsPassGen" />
200+ app : layout_constraintEnd_toEndOf =" parent"
201+ app : layout_constraintStart_toStartOf =" parent"
202+ app : layout_constraintTop_toBottomOf =" @+id/layout_settingsImport" >
203+
204+ <ImageButton
205+ android : id =" @+id/ibt_settingsExport"
206+ android : layout_width =" 0dp"
207+ android : layout_height =" 0dp"
208+ android : layout_marginStart =" 8dp"
209+ android : layout_marginTop =" -12dp"
210+ android : layout_marginEnd =" 8dp"
211+ android : layout_marginBottom =" -12dp"
212+ android : background =" @drawable/option_bottom_dark"
213+ android : contentDescription =" @string/export_database"
214+ android : onClick =" exportDatabase"
215+ app : layout_constraintBottom_toBottomOf =" @+id/txt_settingsExportDescription"
216+ app : layout_constraintEnd_toEndOf =" parent"
217+ app : layout_constraintStart_toStartOf =" parent"
218+ app : layout_constraintTop_toTopOf =" @+id/txt_settingsExport" />
219+
220+ <TextView
221+ android : id =" @+id/txt_settingsExport"
222+ android : layout_width =" wrap_content"
223+ android : layout_height =" wrap_content"
224+ android : layout_marginStart =" 16dp"
225+ android : layout_marginTop =" 12dp"
226+ android : text =" @string/export_database"
227+ android : textColor =" ?attr/colorPrimaryVariant"
228+ android : textSize =" 18sp"
229+ app : layout_constraintStart_toStartOf =" @+id/ibt_settingsExport"
230+ app : layout_constraintTop_toTopOf =" parent" />
231+
232+ <TextView
233+ android : id =" @+id/txt_settingsExportDescription"
234+ android : layout_width =" 0dp"
235+ android : layout_height =" wrap_content"
236+ android : layout_marginTop =" 4dp"
237+ android : layout_marginEnd =" 16dp"
238+ android : text =" @string/export_entries"
239+ app : layout_constraintEnd_toEndOf =" @+id/ibt_settingsExport"
240+ app : layout_constraintStart_toStartOf =" @+id/txt_settingsExport"
241+ app : layout_constraintTop_toBottomOf =" @+id/txt_settingsExport" />
242+ </androidx .constraintlayout.widget.ConstraintLayout>
97243
98244
99245</androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments