|
39 | 39 | app:layout_constraintStart_toStartOf="parent" |
40 | 40 | app:layout_constraintTop_toTopOf="parent"> |
41 | 41 |
|
| 42 | + <ScrollView |
| 43 | + android:id="@+id/scroll_view" |
| 44 | + android:layout_width="match_parent" |
| 45 | + android:layout_height="350dp" |
| 46 | + android:layout_margin="16dp" |
| 47 | + android:background="#DADADA"> |
| 48 | + <TextView |
| 49 | + android:id="@+id/log_window" |
| 50 | + android:layout_width="match_parent" |
| 51 | + android:layout_height="wrap_content" |
| 52 | + android:layout_margin="16dp" |
| 53 | + android:fontFamily="monospace" |
| 54 | + android:hint="@string/app_name" /> |
| 55 | + </ScrollView> |
| 56 | + |
| 57 | + <LinearLayout |
| 58 | + android:layout_width="match_parent" |
| 59 | + android:layout_height="match_parent" |
| 60 | + android:orientation="horizontal"> |
| 61 | + |
| 62 | + <Button |
| 63 | + android:id="@+id/get_config_button" |
| 64 | + android:layout_width="wrap_content" |
| 65 | + android:layout_height="wrap_content" |
| 66 | + android:layout_margin = "5dp" |
| 67 | + android:layout_weight="1" |
| 68 | + android:text="@string/get_active_config" /> |
| 69 | + |
| 70 | + <Button |
| 71 | + android:id="@+id/clear_button" |
| 72 | + android:layout_width="wrap_content" |
| 73 | + android:layout_height="wrap_content" |
| 74 | + android:layout_margin = "5dp" |
| 75 | + android:layout_weight="1" |
| 76 | + android:backgroundTint="@color/cardview_dark_background" |
| 77 | + android:text="@string/clear" /> |
| 78 | + </LinearLayout> |
| 79 | + |
42 | 80 | <Button |
43 | | - android:id="@+id/fetch_button" |
44 | | - android:layout_width="wrap_content" |
45 | | - android:layout_height="wrap_content" |
46 | | - android:layout_marginStart="5dp" |
47 | | - android:layout_marginLeft="5dp" |
48 | | - android:layout_marginEnd="5dp" |
49 | | - android:layout_marginRight="5dp" |
| 81 | + android:id="@+id/fetch_and_activate_button" |
| 82 | + android:layout_width="match_parent" |
| 83 | + android:layout_height="0dp" |
| 84 | + android:layout_margin = "5dp" |
50 | 85 | android:layout_weight="1" |
51 | | - android:text="@string/fetch_config" /> |
| 86 | + android:text="@string/fetch_and_activate_config"/> |
| 87 | + |
| 88 | + <LinearLayout |
| 89 | + android:layout_width="match_parent" |
| 90 | + android:layout_height="match_parent" |
| 91 | + android:orientation="horizontal"> |
| 92 | + |
| 93 | + <Button |
| 94 | + android:id="@+id/fetch_button" |
| 95 | + android:layout_width="wrap_content" |
| 96 | + android:layout_height="wrap_content" |
| 97 | + android:layout_margin = "5dp" |
| 98 | + android:layout_weight="1" |
| 99 | + android:text="@string/fetch_config" /> |
| 100 | + |
| 101 | + <Button |
| 102 | + android:id="@+id/activate_button" |
| 103 | + android:layout_width="wrap_content" |
| 104 | + android:layout_height="wrap_content" |
| 105 | + android:layout_margin = "5dp" |
| 106 | + android:layout_weight="1" |
| 107 | + android:text="@string/activate_config" /> |
| 108 | + </LinearLayout> |
| 109 | + |
| 110 | + <TextView |
| 111 | + android:layout_width="match_parent" |
| 112 | + android:layout_height="match_parent" |
| 113 | + android:text="@string/crashlytics_label" |
| 114 | + android:padding="3dip" /> |
| 115 | + |
| 116 | + <LinearLayout |
| 117 | + android:layout_width="match_parent" |
| 118 | + android:layout_height="match_parent" |
| 119 | + android:orientation="horizontal"> |
52 | 120 |
|
53 | 121 | <Button |
54 | 122 | android:id="@+id/jvm_crash_button" |
55 | 123 | android:layout_width="wrap_content" |
56 | | - android:layout_height="wrap_content" |
| 124 | + android:layout_height="match_parent" |
57 | 125 | android:layout_marginStart="5dp" |
58 | | - android:layout_marginLeft="5dp" |
59 | 126 | android:layout_marginEnd="5dp" |
60 | | - android:layout_marginRight="5dp" |
61 | 127 | android:layout_weight="1" |
62 | 128 | android:text="@string/jvm_crash" /> |
63 | 129 |
|
64 | 130 | <Button |
65 | 131 | android:id="@+id/anr_button" |
66 | | - android:layout_width="match_parent" |
67 | | - android:layout_height="wrap_content" |
| 132 | + android:layout_width="wrap_content" |
| 133 | + android:layout_height="match_parent" |
| 134 | + android:layout_marginEnd="5dp" |
| 135 | + android:minWidth="100dp" |
68 | 136 | android:layout_weight="1" |
69 | 137 | android:text="@string/anr" /> |
70 | 138 |
|
71 | 139 | <Button |
72 | 140 | android:id="@+id/on_demand_fatal_button" |
73 | | - android:layout_width="match_parent" |
74 | | - android:layout_height="wrap_content" |
| 141 | + android:layout_width="wrap_content" |
| 142 | + android:layout_height="match_parent" |
| 143 | + android:layout_marginEnd="5dp" |
75 | 144 | android:layout_weight="1" |
76 | 145 | android:text="@string/on_demand_fatal" /> |
77 | 146 |
|
78 | 147 | <Button |
79 | 148 | android:id="@+id/non_fatal_button" |
80 | | - android:layout_width="match_parent" |
81 | | - android:layout_height="wrap_content" |
| 149 | + android:layout_width="wrap_content" |
| 150 | + android:layout_height="match_parent" |
| 151 | + android:layout_marginEnd="5dp" |
82 | 152 | android:layout_weight="1" |
83 | 153 | android:text="@string/non_fatal" /> |
| 154 | + </LinearLayout> |
84 | 155 | </LinearLayout> |
85 | 156 | </androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments