Jiyong Park | b02e95f | 2021-07-04 15:59:46 +0900 | [diff] [blame] | 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 | android:background="#FFC107" |
| 8 | android:scrollbars="horizontal|vertical" |
| 9 | android:textAlignment="textStart" |
| 10 | tools:context=".MainActivity"> |
| 11 | |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 12 | <LinearLayout |
Jiyong Park | b02e95f | 2021-07-04 15:59:46 +0900 | [diff] [blame] | 13 | android:layout_width="match_parent" |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 14 | android:layout_height="match_parent" |
| 15 | android:orientation="vertical"> |
Jiyong Park | b02e95f | 2021-07-04 15:59:46 +0900 | [diff] [blame] | 16 | |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 17 | <LinearLayout |
Jiyong Park | b02e95f | 2021-07-04 15:59:46 +0900 | [diff] [blame] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="wrap_content" |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 20 | android:orientation="horizontal"> |
| 21 | |
| 22 | <Button |
| 23 | android:id="@+id/runStopButton" |
| 24 | android:layout_width="wrap_content" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:text="Run" /> |
| 27 | |
| 28 | <CheckBox |
| 29 | android:id="@+id/debugMode" |
| 30 | android:layout_width="wrap_content" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_weight="1" |
| 33 | android:text="Debug mode" /> |
| 34 | </LinearLayout> |
| 35 | |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 36 | <TextView |
| 37 | android:layout_width="wrap_content" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_marginTop="10dp" |
| 40 | android:text="App output:" /> |
| 41 | |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 42 | <ScrollView |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 43 | android:id="@+id/scrollPayloadOutput" |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 44 | android:layout_width="match_parent" |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 45 | android:layout_height="0dp" |
| 46 | android:layout_weight="1"> |
| 47 | |
| 48 | <TextView |
| 49 | android:id="@+id/payloadOutput" |
| 50 | android:layout_width="match_parent" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:background="#9089e0" |
| 53 | android:fontFamily="monospace" |
| 54 | android:textColor="#000000" /> |
| 55 | </ScrollView> |
| 56 | |
| 57 | <TextView |
| 58 | android:layout_width="wrap_content" |
| 59 | android:layout_height="wrap_content" |
| 60 | android:layout_marginTop="10dp" |
| 61 | android:text="Console output:" /> |
| 62 | |
| 63 | <ScrollView |
| 64 | android:id="@+id/scrollConsoleOutput" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="0dp" |
| 67 | android:layout_weight="2"> |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 68 | |
| 69 | <TextView |
| 70 | android:id="@+id/consoleOutput" |
| 71 | android:layout_width="match_parent" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:background="#FFEB3B" |
| 74 | android:fontFamily="monospace" |
| 75 | android:textColor="#000000" /> |
| 76 | </ScrollView> |
| 77 | </LinearLayout> |
Jiyong Park | b02e95f | 2021-07-04 15:59:46 +0900 | [diff] [blame] | 78 | |
| 79 | </androidx.constraintlayout.widget.ConstraintLayout> |