1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .constraintlayout .widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <androidx .appcompat .widget.LinearLayoutCompat xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
+ xmlns : tools =" http://schemas.android.com/tools"
4
5
android : layout_width =" match_parent"
5
- android : layout_height =" match_parent" >
6
+ android : layout_height =" match_parent"
7
+ android : orientation =" vertical"
8
+ android : padding =" 16dp" >
6
9
7
10
<TextView
8
- android : layout_width =" wrap_content"
11
+ android : id =" @+id/tv_title"
12
+ android : layout_width =" match_parent"
13
+ android : layout_height =" wrap_content"
14
+ tools : text =" @tools:sample/lorem" />
15
+
16
+ <Space
17
+ android : layout_width =" match_parent"
18
+ android : layout_height =" 4dp" />
19
+
20
+ <TextView
21
+ android : id =" @+id/tv_user"
22
+ android : layout_width =" match_parent"
9
23
android : layout_height =" wrap_content"
10
- android : text =" Details!"
11
- app : layout_constraintBottom_toBottomOf =" parent"
12
- app : layout_constraintEnd_toEndOf =" parent"
13
24
app : layout_constraintStart_toStartOf =" parent"
14
- app : layout_constraintTop_toTopOf =" parent" />
25
+ app : layout_constraintTop_toTopOf =" parent"
26
+ tools : text =" @tools:sample/full_names" />
27
+
28
+ <Space
29
+ android : layout_width =" match_parent"
30
+ android : layout_height =" 16dp" />
31
+
32
+ <TextView
33
+ android : id =" @+id/tv_body"
34
+ android : layout_width =" match_parent"
35
+ android : layout_height =" wrap_content"
36
+ tools : text =" @tools:sample/lorem/random" />
15
37
16
- </androidx .constraintlayout .widget.ConstraintLayout >
38
+ </androidx .appcompat .widget.LinearLayoutCompat >
0 commit comments