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+ tools : context =" .task.affinity.TaskAffinityActivity" >
8+
9+ <TextView
10+ android : id =" @+id/textView"
11+ android : layout_width =" 0dp"
12+ android : layout_height =" 0dp"
13+ android : layout_marginStart =" 16dp"
14+ android : layout_marginTop =" 16dp"
15+ android : layout_marginEnd =" 16dp"
16+ android : layout_marginBottom =" 16dp"
17+ android : text =" TextView"
18+ app : layout_constraintBottom_toBottomOf =" parent"
19+ app : layout_constraintEnd_toEndOf =" parent"
20+ app : layout_constraintStart_toStartOf =" parent"
21+ app : layout_constraintTop_toTopOf =" parent" />
22+
23+ <Button
24+ android : id =" @+id/btnNewActivity"
25+ android : layout_width =" 0dp"
26+ android : layout_height =" wrap_content"
27+ android : layout_marginStart =" 32dp"
28+ android : layout_marginEnd =" 32dp"
29+ android : layout_marginBottom =" 32dp"
30+ android : text =" New Activity Of Same Task"
31+ app : layout_constraintBottom_toBottomOf =" parent"
32+ app : layout_constraintEnd_toEndOf =" parent"
33+ app : layout_constraintStart_toStartOf =" parent" />
34+
35+ <Button
36+ android : id =" @+id/btnCloseAffinity"
37+ android : layout_width =" 0dp"
38+ android : layout_height =" wrap_content"
39+ android : layout_marginBottom =" 16dp"
40+ android : text =" Close Affinity"
41+ app : layout_constraintBottom_toTopOf =" @+id/btnNewActivity"
42+ app : layout_constraintEnd_toEndOf =" @+id/btnNewActivity"
43+ app : layout_constraintStart_toStartOf =" @+id/btnNewActivity" />
44+ </androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments