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" /> |
Jerry Wang | 79b911b | 2024-05-02 11:24:12 +0800 | [diff] [blame] | 34 | |
| 35 | <CheckBox |
| 36 | android:id="@+id/protectedMode" |
| 37 | android:layout_width="wrap_content" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_weight="1" |
| 40 | android:text="Protected vm" /> |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 41 | </LinearLayout> |
| 42 | |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 43 | <TextView |
| 44 | android:layout_width="wrap_content" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:layout_marginTop="10dp" |
| 47 | android:text="App output:" /> |
| 48 | |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 49 | <ScrollView |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 50 | android:id="@+id/scrollPayloadOutput" |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 51 | android:layout_width="match_parent" |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 52 | android:layout_height="0dp" |
| 53 | android:layout_weight="1"> |
| 54 | |
| 55 | <TextView |
| 56 | android:id="@+id/payloadOutput" |
| 57 | android:layout_width="match_parent" |
| 58 | android:layout_height="wrap_content" |
| 59 | android:background="#9089e0" |
| 60 | android:fontFamily="monospace" |
| 61 | android:textColor="#000000" /> |
| 62 | </ScrollView> |
| 63 | |
| 64 | <TextView |
| 65 | android:layout_width="wrap_content" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:layout_marginTop="10dp" |
| 68 | android:text="Console output:" /> |
| 69 | |
| 70 | <ScrollView |
| 71 | android:id="@+id/scrollConsoleOutput" |
Jiyong Park | b8182bb | 2021-10-26 22:53:08 +0900 | [diff] [blame] | 72 | android:layout_width="wrap_content" |
Jiyong Park | 8611a6c | 2021-07-09 18:17:44 +0900 | [diff] [blame] | 73 | android:layout_height="0dp" |
| 74 | android:layout_weight="2"> |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 75 | |
Jiyong Park | b8182bb | 2021-10-26 22:53:08 +0900 | [diff] [blame] | 76 | <HorizontalScrollView |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 77 | android:layout_width="match_parent" |
Jiyong Park | b8182bb | 2021-10-26 22:53:08 +0900 | [diff] [blame] | 78 | android:layout_height="match_parent"> |
| 79 | |
| 80 | <TextView |
| 81 | android:id="@+id/consoleOutput" |
| 82 | android:layout_width="wrap_content" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:background="#FFEB3B" |
| 85 | android:fontFamily="monospace" |
| 86 | android:textSize="10sp" |
| 87 | android:textColor="#000000" /> |
| 88 | </HorizontalScrollView> |
| 89 | </ScrollView> |
| 90 | |
| 91 | <TextView |
| 92 | android:layout_width="wrap_content" |
| 93 | android:layout_height="wrap_content" |
| 94 | android:layout_marginTop="10dp" |
| 95 | android:text="Log output:" /> |
| 96 | |
| 97 | <ScrollView |
| 98 | android:id="@+id/scrollLogOutput" |
| 99 | android:layout_width="wrap_content" |
| 100 | android:layout_height="0dp" |
| 101 | android:layout_weight="2"> |
| 102 | |
| 103 | <HorizontalScrollView |
| 104 | android:layout_width="match_parent" |
| 105 | android:layout_height="match_parent"> |
| 106 | |
| 107 | <TextView |
| 108 | android:id="@+id/logOutput" |
| 109 | android:layout_width="wrap_content" |
| 110 | android:layout_height="wrap_content" |
| 111 | android:background="#FFEB3B" |
| 112 | android:fontFamily="monospace" |
| 113 | android:textSize="10sp" |
| 114 | android:textColor="#000000" /> |
| 115 | </HorizontalScrollView> |
Jiyong Park | af1a74b | 2021-07-07 12:23:52 +0900 | [diff] [blame] | 116 | </ScrollView> |
| 117 | </LinearLayout> |
Jiyong Park | b02e95f | 2021-07-04 15:59:46 +0900 | [diff] [blame] | 118 | |
| 119 | </androidx.constraintlayout.widget.ConstraintLayout> |