1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .constraintlayout.widget.ConstraintLayout
3
- xmlns : android =" http://schemas.android.com/apk/res/android "
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
4
xmlns : tools =" http://schemas.android.com/tools"
5
+ android : id =" @+id/main"
5
6
android : layout_width =" match_parent"
6
- android : layout_height =" match_parent" >
7
+ android : layout_height =" match_parent"
8
+ tools : context =" .ui.main.MainFragment" >
7
9
8
- <TextView
9
- android : id =" @+id/textView2"
10
+ <androidx .recyclerview.widget.RecyclerView
11
+ android : id =" @+id/recyclerView"
12
+ android : layout_width =" match_parent"
13
+ android : layout_height =" match_parent"
14
+ tools : listitem =" @layout/category_item" />
15
+
16
+ <ProgressBar
17
+ android : id =" @+id/progressBar"
18
+ style =" ?android:attr/progressBarStyle"
10
19
android : layout_width =" wrap_content"
11
20
android : layout_height =" wrap_content"
12
- android : text =" TextView"
13
- tools : layout_editor_absoluteX =" 137dp"
14
- tools : layout_editor_absoluteY =" 194dp" />
15
- </androidx .constraintlayout.widget.ConstraintLayout>
21
+ app : layout_constraintBottom_toBottomOf =" parent"
22
+ app : layout_constraintEnd_toEndOf =" parent"
23
+ app : layout_constraintHorizontal_bias =" 0.5"
24
+ app : layout_constraintStart_toStartOf =" parent"
25
+ app : layout_constraintTop_toTopOf =" parent" />
26
+
27
+ <androidx .appcompat.widget.AppCompatTextView
28
+ android : layout_width =" match_parent"
29
+ android : layout_height =" wrap_content"
30
+ android : text =" Empty list"
31
+ android : id =" @+id/emptyError"
32
+ android : textAlignment =" center"
33
+ android : textAppearance =" @style/TextAppearance.AppCompat.Display1"
34
+ app : layout_constraintBottom_toBottomOf =" parent"
35
+ app : layout_constraintEnd_toEndOf =" parent"
36
+ app : layout_constraintHorizontal_bias =" 0.5"
37
+ app : layout_constraintStart_toStartOf =" parent"
38
+ app : layout_constraintTop_toTopOf =" parent" >
39
+
40
+ </androidx .appcompat.widget.AppCompatTextView>
41
+
42
+ </androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments