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 12 <LinearLayout 13 android:layout_width="match_parent" 14 android:layout_height="match_parent" 15 android:orientation="vertical"> 16 17 <LinearLayout 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 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 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 42 <ScrollView 43 android:id="@+id/scrollPayloadOutput" 44 android:layout_width="match_parent" 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="wrap_content" 66 android:layout_height="0dp" 67 android:layout_weight="2"> 68 69 <HorizontalScrollView 70 android:layout_width="match_parent" 71 android:layout_height="match_parent"> 72 73 <TextView 74 android:id="@+id/consoleOutput" 75 android:layout_width="wrap_content" 76 android:layout_height="wrap_content" 77 android:background="#FFEB3B" 78 android:fontFamily="monospace" 79 android:textSize="10sp" 80 android:textColor="#000000" /> 81 </HorizontalScrollView> 82 </ScrollView> 83 84 <TextView 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 android:layout_marginTop="10dp" 88 android:text="Log output:" /> 89 90 <ScrollView 91 android:id="@+id/scrollLogOutput" 92 android:layout_width="wrap_content" 93 android:layout_height="0dp" 94 android:layout_weight="2"> 95 96 <HorizontalScrollView 97 android:layout_width="match_parent" 98 android:layout_height="match_parent"> 99 100 <TextView 101 android:id="@+id/logOutput" 102 android:layout_width="wrap_content" 103 android:layout_height="wrap_content" 104 android:background="#FFEB3B" 105 android:fontFamily="monospace" 106 android:textSize="10sp" 107 android:textColor="#000000" /> 108 </HorizontalScrollView> 109 </ScrollView> 110 </LinearLayout> 111 112</androidx.constraintlayout.widget.ConstraintLayout> 113