|
|
@@ -0,0 +1,47 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
+
|
|
|
+ <com.google.android.material.appbar.MaterialToolbar
|
|
|
+ android:id="@+id/toolbar"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintWidth_percent="1" />
|
|
|
+
|
|
|
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
+ android:id="@+id/swipe_refresh"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent">
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:id="@+id/scroll_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/log_text"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="10dp"
|
|
|
+ android:textIsSelectable="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:fontFamily="monospace"
|
|
|
+ android:lineSpacingMultiplier="1.1"
|
|
|
+ android:longClickable="true"
|
|
|
+ tools:ignore="SmallSp" />
|
|
|
+
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|