1<?xml version="1.0" encoding="utf-8"?> 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:tools="http://schemas.android.com/tools" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent" 6 android:padding="16dp"> 7 <com.google.android.material.button.MaterialButton 8 android:id="@+id/service_button" 9 android:layout_width="200dp" 10 android:layout_height="wrap_content" 11 android:layout_alignParentTop="true" 12 android:layout_centerHorizontal="true" 13 android:text="@string/service_button_text" /> 14 <com.google.android.material.textview.MaterialTextView 15 android:id="@+id/snoop_file_name" 16 android:layout_height="wrap_content" 17 android:layout_width="match_parent" 18 android:layout_below="@+id/service_button" 19 android:layout_marginLeft="16dp" 20 android:layout_marginRight="16dp" 21 android:text=""/> 22 <androidx.core.widget.NestedScrollView 23 android:layout_width="match_parent" 24 android:layout_height="600dp" 25 android:layout_below="@+id/snoop_file_name"> 26 <LinearLayout 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" 29 android:orientation="vertical" 30 android:padding="8dp"> 31 <com.google.android.material.textview.MaterialTextView 32 android:id="@+id/transaction_log" 33 android:layout_height="wrap_content" 34 android:layout_width="wrap_content" 35 android:text="" 36 android:typeface="monospace"/> 37 </LinearLayout> 38 </androidx.core.widget.NestedScrollView> 39</RelativeLayout>