66 android : layout_height =" match_parent"
77 tools : context =" .MainActivity" >
88
9- <Button
10- android : id =" @+id/handledException"
9+ <LinearLayout
1110 android : layout_width =" wrap_content"
1211 android : layout_height =" wrap_content"
13- android : onClick =" handledException"
14- android : text =" Handled Exception"
15- app : layout_constraintBottom_toTopOf =" @+id/unhandledException"
16- app : layout_constraintEnd_toEndOf =" parent"
17- app : layout_constraintHorizontal_bias =" 0.5"
12+ android : orientation =" vertical"
13+ android : gravity =" center"
14+ app : layout_constraintTop_toTopOf =" parent"
15+ app : layout_constraintBottom_toBottomOf =" parent"
1816 app : layout_constraintStart_toStartOf =" parent"
19- app : layout_constraintTop_toTopOf =" parent" / >
17+ app : layout_constraintEnd_toEndOf =" parent" >
2018
21- <Button
22- android : id =" @+id/unhandledException"
23- android : layout_width =" wrap_content"
24- android : layout_height =" wrap_content"
25- android : text =" Unhandled Exception"
26- android : onClick =" unhandledException"
27- app : layout_constraintBottom_toTopOf =" @+id/nativeCrash"
28- app : layout_constraintEnd_toEndOf =" parent"
29- app : layout_constraintHorizontal_bias =" 0.5"
30- app : layout_constraintStart_toStartOf =" parent"
31- app : layout_constraintTop_toBottomOf =" @+id/handledException" />
19+ <Button
20+ android : id =" @+id/handledException"
21+ android : layout_width =" wrap_content"
22+ android : layout_height =" wrap_content"
23+ android : onClick =" handledException"
24+ android : text =" Handled Exception"
25+ android : layout_marginBottom =" 8dp" />
3226
33- <Button
34- android : id =" @+id/nativeCrash"
35- android : layout_width =" wrap_content"
36- android : layout_height =" wrap_content"
37- android : text =" Native Crash"
38- android : onClick =" nativeCrash"
39- app : layout_constraintBottom_toTopOf =" @+id/dumpWithoutCrash"
40- app : layout_constraintEnd_toEndOf =" parent"
41- app : layout_constraintHorizontal_bias =" 0.5"
42- app : layout_constraintStart_toStartOf =" parent"
43- app : layout_constraintTop_toBottomOf =" @+id/unhandledException" />
27+ <Button
28+ android : id =" @+id/unhandledException"
29+ android : layout_width =" wrap_content"
30+ android : layout_height =" wrap_content"
31+ android : onClick =" unhandledException"
32+ android : text =" Unhandled Exception"
33+ android : layout_marginBottom =" 8dp" />
4434
45- <Button
46- android : id =" @+id/dumpWithoutCrash"
47- android : layout_width =" wrap_content"
48- android : layout_height =" wrap_content"
49- android : text =" Generate sample crash report"
50- android : onClick =" dumpWithoutCrash"
51- app : layout_constraintBottom_toTopOf =" @+id/anr"
52- app : layout_constraintEnd_toEndOf =" parent"
53- app : layout_constraintHorizontal_bias =" 0.5"
54- app : layout_constraintStart_toStartOf =" parent"
55- app : layout_constraintTop_toBottomOf =" @+id/nativeCrash" />
35+ <Button
36+ android : id =" @+id/nativeCrash"
37+ android : layout_width =" wrap_content"
38+ android : layout_height =" wrap_content"
39+ android : onClick =" nativeCrash"
40+ android : text =" Native Crash"
41+ android : layout_marginBottom =" 8dp" />
5642
57- <Button
58- android : id =" @+id/anr"
59- android : layout_width =" wrap_content"
60- android : layout_height =" wrap_content"
61- android : text =" ANR"
62- android : onClick =" anr"
63- app : layout_constraintEnd_toEndOf =" parent"
64- app : layout_constraintHorizontal_bias =" 0.5"
65- app : layout_constraintStart_toStartOf =" parent"
66- app : layout_constraintTop_toBottomOf =" @+id/dumpWithoutCrash" />
43+ <Button
44+ android : id =" @+id/dumpWithoutCrash"
45+ android : layout_width =" wrap_content"
46+ android : layout_height =" wrap_content"
47+ android : onClick =" dumpWithoutCrash"
48+ android : text =" Generate sample crash report"
49+ android : layout_marginBottom =" 8dp" />
6750
68- <Button
69- android : id =" @+id/enableBreadcrumbs"
70- android : layout_width =" wrap_content"
71- android : layout_height =" wrap_content"
72- android : text =" Enable Breadcrumbs (All)"
73- android : onClick =" enableBreadcrumbs"
74- app : layout_constraintEnd_toEndOf =" parent"
75- app : layout_constraintHorizontal_bias =" 0.5"
76- app : layout_constraintStart_toStartOf =" parent"
77- app : layout_constraintTop_toBottomOf =" @+id/anr" />
51+ <Button
52+ android : id =" @+id/anr"
53+ android : layout_width =" wrap_content"
54+ android : layout_height =" wrap_content"
55+ android : onClick =" anr"
56+ android : text =" ANR"
57+ android : layout_marginBottom =" 8dp" />
7858
79- <Button
80- android : id =" @+id/enableBreadcrumbsUserOnly"
81- android : layout_width =" wrap_content"
82- android : layout_height =" wrap_content"
83- android : text =" Enable Breadcrumbs (User Only)"
84- android : onClick =" enableBreadcrumbsUserOnly"
85- app : layout_constraintEnd_toEndOf =" parent"
86- app : layout_constraintHorizontal_bias =" 0.5"
87- app : layout_constraintStart_toStartOf =" parent"
88- app : layout_constraintTop_toBottomOf =" @+id/enableBreadcrumbs" />
59+ <Button
60+ android : id =" @+id/enableBreadcrumbs"
61+ android : layout_width =" wrap_content"
62+ android : layout_height =" wrap_content"
63+ android : onClick =" enableBreadcrumbs"
64+ android : text =" Enable Breadcrumbs (All)"
65+ android : layout_marginBottom =" 8dp" />
8966
90- <Button
91- android : id =" @+id/sendReport"
92- android : layout_width =" wrap_content"
93- android : layout_height =" wrap_content"
94- android : text =" Send Report"
95- android : onClick =" sendReport"
96- app : layout_constraintEnd_toEndOf =" parent"
97- app : layout_constraintHorizontal_bias =" 0.5"
98- app : layout_constraintStart_toStartOf =" parent"
99- app : layout_constraintTop_toBottomOf =" @+id/enableBreadcrumbsUserOnly" />
67+ <Button
68+ android : id =" @+id/enableBreadcrumbsUserOnly"
69+ android : layout_width =" wrap_content"
70+ android : layout_height =" wrap_content"
71+ android : onClick =" enableBreadcrumbsUserOnly"
72+ android : text =" Enable Breadcrumbs (User Only)"
73+ android : layout_marginBottom =" 8dp" />
10074
101- <Button
102- android : id =" @+id/disableNativeIntegration"
103- android : layout_width =" wrap_content"
104- android : layout_height =" wrap_content"
105- android : text =" Disable Native Integration"
106- android : onClick =" disableNativeIntegration"
107- app : layout_constraintEnd_toEndOf =" parent"
108- app : layout_constraintHorizontal_bias =" 0.5"
109- app : layout_constraintStart_toStartOf =" parent"
110- app : layout_constraintTop_toBottomOf =" @+id/sendReport" />
75+ <Button
76+ android : id =" @+id/sendReport"
77+ android : layout_width =" wrap_content"
78+ android : layout_height =" wrap_content"
79+ android : onClick =" sendReport"
80+ android : text =" Send Report"
81+ android : layout_marginBottom =" 8dp" />
11182
112- <Button
113- android : id =" @+id/enableNativeIntegration"
114- android : layout_width =" wrap_content"
115- android : layout_height =" wrap_content"
116- android : text =" Re-Enable Native Integration"
117- android : onClick =" enableNativeIntegration"
118- app : layout_constraintEnd_toEndOf =" parent"
119- app : layout_constraintHorizontal_bias =" 0.5"
120- app : layout_constraintStart_toStartOf =" parent"
121- app : layout_constraintTop_toBottomOf =" @+id/disableNativeIntegration" />
83+ <Button
84+ android : id =" @+id/disableNativeIntegration"
85+ android : layout_width =" wrap_content"
86+ android : layout_height =" wrap_content"
87+ android : onClick =" disableNativeIntegration"
88+ android : text =" Disable Native Integration"
89+ android : layout_marginBottom =" 8dp" />
12290
123- <Button
124- android : id =" @+id/exit"
125- android : layout_width =" wrap_content"
126- android : layout_height =" wrap_content"
127- android : text =" Exit"
128- android : onClick =" exit"
129- app : layout_constraintEnd_toEndOf =" parent"
130- app : layout_constraintHorizontal_bias =" 0.5"
131- app : layout_constraintStart_toStartOf =" parent"
132- app : layout_constraintTop_toBottomOf =" @+id/enableNativeIntegration" />
91+ <Button
92+ android : id =" @+id/enableNativeIntegration"
93+ android : layout_width =" wrap_content"
94+ android : layout_height =" wrap_content"
95+ android : onClick =" enableNativeIntegration"
96+ android : text =" Re-Enable Native Integration"
97+ android : layout_marginBottom =" 8dp" />
98+
99+ <Button
100+ android : id =" @+id/exit"
101+ android : layout_width =" wrap_content"
102+ android : layout_height =" wrap_content"
103+ android : onClick =" exit"
104+ android : text =" Exit" />
105+
106+ </LinearLayout >
133107
134- </androidx .constraintlayout.widget.ConstraintLayout>
108+ </androidx .constraintlayout.widget.ConstraintLayout>
0 commit comments