aboutsummaryrefslogtreecommitdiff
path: root/apps/OboeTester/app/src/main/res/layout/activity_extra_tests.xml
blob: dbd0d37e622dbce0f45ebad7566039841e4ad4c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ExtraTestsActivity">

    <GridLayout
        android:id="@+id/buttonGrid"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:columnCount="2">

    <Button
        android:id="@+id/buttonBackToMain"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_columnWeight="1"
        android:layout_gravity="fill"
        android:backgroundTint="@color/button_tint"
        android:onClick="onLaunchMainActivity"
        android:text="Back to Main" />

    <Button
        android:id="@+id/buttonExternalTap"
        android:layout_gravity="fill"
        android:layout_width="0dp"
        android:layout_columnWeight="1"
        android:layout_height="wrap_content"
        android:backgroundTint="@color/button_tint"
        android:onClick="onLaunchExternalTapTest"
        android:text="External Tap" />

    <Button
        android:id="@+id/buttonPlugLatency"
        android:layout_gravity="fill"
        android:layout_width="0dp"
        android:layout_columnWeight="1"
        android:layout_height="wrap_content"
        android:backgroundTint="@color/button_tint"
        android:onClick="onLaunchPlugLatencyTest"
        android:text="Plug Latency" />

    <Button
        android:id="@+id/buttonErrorCallback"
        android:layout_gravity="fill"
        android:layout_width="0dp"
        android:layout_columnWeight="1"
        android:layout_height="wrap_content"
        android:backgroundTint="@color/button_tint"
        android:onClick="onLaunchErrorCallbackTest"
        android:text="Error Callback" />
</GridLayout>
</android.support.constraint.ConstraintLayout>