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:id="@+id/main"
6    android:layout_width="match_parent"
7    android:layout_height="match_parent"
8    tools:context=".ui.main.MainFragment">
9
10    <LinearLayout
11        android:id="@+id/layout_config"
12        android:layout_width="match_parent"
13        android:layout_height="wrap_content"
14        android:layout_alignParentTop="true"
15        android:orientation="vertical"
16        app:layout_constraintEnd_toEndOf="parent"
17        app:layout_constraintStart_toStartOf="parent"
18        app:layout_constraintTop_toTopOf="parent">
19
20        <TextView
21            android:layout_width="match_parent"
22            android:layout_height="wrap_content"
23            android:text="@string/label_settings" />
24
25        <Button
26            android:id="@+id/carrier_config_change_button"
27            android:layout_width="match_parent"
28            android:layout_height="wrap_content"
29            android:text="@string/label_carrier" />
30
31        <Button
32            android:id="@+id/service_config"
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:text="@string/label_service" />
36
37        <Button
38            android:id="@+id/client_config"
39            android:layout_width="match_parent"
40            android:layout_height="wrap_content"
41            android:text="@string/label_test" />
42
43    </LinearLayout>
44
45    <LinearLayout
46        android:id="@+id/layout_test"
47        android:layout_width="match_parent"
48        android:layout_height="0dp"
49        android:orientation="vertical"
50        app:layout_constraintBottom_toTopOf="@id/layout_exit"
51        app:layout_constraintEnd_toEndOf="parent"
52        app:layout_constraintStart_toStartOf="parent"
53        app:layout_constraintTop_toBottomOf="@id/layout_config">
54
55        <Button
56            android:id="@+id/send_request"
57            android:layout_width="match_parent"
58            android:layout_height="wrap_content"
59            android:text="@string/button_name_running" />
60
61        <TextView
62            android:id="@+id/textTestLabel"
63            android:layout_width="match_parent"
64            android:layout_height="wrap_content"
65            android:text="@string/label_test_result" />
66        <ScrollView
67            android:layout_width="match_parent"
68            android:layout_height="match_parent">
69
70            <LinearLayout
71                android:layout_width="match_parent"
72                android:layout_height="wrap_content"
73                android:orientation="vertical" >
74
75                <TextView
76                    android:id="@+id/viewTestOutput"
77                    android:layout_width="match_parent"
78                    android:layout_height="wrap_content"/>
79            </LinearLayout>
80        </ScrollView>
81    </LinearLayout>
82
83    <LinearLayout
84        android:id="@+id/layout_exit"
85        android:layout_width="match_parent"
86        android:layout_height="wrap_content"
87        android:layout_alignParentBottom="true"
88        android:layout_gravity="bottom"
89        android:orientation="vertical"
90        app:layout_constraintBottom_toBottomOf="parent"
91        app:layout_constraintEnd_toEndOf="parent"
92        app:layout_constraintStart_toStartOf="parent">
93
94        <Button
95            android:id="@+id/test_exit"
96            android:layout_width="match_parent"
97            android:layout_height="wrap_content"
98            android:text="@string/button_name_exit" />
99    </LinearLayout>
100</androidx.constraintlayout.widget.ConstraintLayout>
101