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+
8+ <ImageView
9+ android : layout_width =" match_parent"
10+ android : layout_height =" match_parent"
11+ app : layout_constraintBottom_toBottomOf =" parent"
12+ app : layout_constraintEnd_toEndOf =" parent"
13+ app : layout_constraintStart_toStartOf =" parent"
14+ app : layout_constraintTop_toTopOf =" parent"
15+ tools : background =" @android:color/darker_gray" />
16+
17+ <ImageView
18+ android : id =" @+id/icon"
19+ android : layout_width =" 90dp"
20+ android : layout_height =" 90dp"
21+ android : layout_marginTop =" 120dp"
22+ app : layout_constraintEnd_toEndOf =" parent"
23+ app : layout_constraintStart_toStartOf =" parent"
24+ app : layout_constraintTop_toTopOf =" parent"
25+ tools : background =" @color/colorAccent" />
26+
27+ <TextView
28+ android : id =" @+id/title"
29+ android : layout_width =" wrap_content"
30+ android : layout_height =" wrap_content"
31+ android : layout_marginTop =" 8dp"
32+ android : textColor =" @android:color/black"
33+ android : textSize =" 20sp"
34+ app : layout_constraintEnd_toEndOf =" parent"
35+ app : layout_constraintStart_toStartOf =" parent"
36+ app : layout_constraintTop_toBottomOf =" @+id/icon"
37+ tools : text =" title" />
38+
39+ <TextView
40+ android : id =" @+id/desc"
41+ android : layout_width =" 0dp"
42+ android : layout_height =" 0dp"
43+ android : layout_marginStart =" 10dp"
44+ android : layout_marginLeft =" 10dp"
45+ android : layout_marginTop =" 16dp"
46+ android : layout_marginEnd =" 10dp"
47+ android : layout_marginBottom =" 10dp"
48+ app : layout_constraintBottom_toBottomOf =" parent"
49+ app : layout_constraintEnd_toEndOf =" parent"
50+ app : layout_constraintStart_toStartOf =" parent"
51+ app : layout_constraintTop_toBottomOf =" @+id/title"
52+ tools : text =" desc" />
53+
54+ <Button
55+ android : id =" @+id/button"
56+ android : layout_width =" 0dp"
57+ android : layout_height =" wrap_content"
58+ android : layout_marginStart =" 10dp"
59+ android : layout_marginEnd =" 10dp"
60+ android : layout_marginBottom =" 10dp"
61+ app : layout_constraintBottom_toBottomOf =" parent"
62+ app : layout_constraintEnd_toEndOf =" parent"
63+ app : layout_constraintStart_toStartOf =" parent" />
64+ </androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments