summaryrefslogtreecommitdiff
path: root/BenchmarkFramework/app/src/main/res/layout/activity_main.xml
blob: 239e22a53c3525a39bf24b674120a8e17a5645e9 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/linearLayout1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/relativelayoutshape">

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true"
        android:orientation="vertical">

        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:minHeight="?attr/actionBarSize"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:titleTextColor="@android:color/white"
            android:background="?attr/colorPrimary">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="#ff0000"
                android:textColor="#FFFFFF"
                android:layout_gravity="right"
                android:onClick="onRepeatIndicatorClick"
                android:textStyle="bold"
                android:id="@+id/toolbar_repeat_indicator" />

        </android.support.v7.widget.Toolbar>

        <!-- Layout for content is here. This can be a RelativeLayout  -->

    </LinearLayout>


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:background="#20A840"
        android:layout_marginTop="55dp">

        <Button
            android:id="@+id/startButton"

            android:text="RUN TEST"
            android:textColor="#FFFFFF"
            android:textSize="15sp"
            android:layout_height="50dp"
            android:layout_width="0px"
            android:layout_weight="1"
            android:background="@drawable/buttonshape">
        </Button>
        <Button
            android:id="@+id/startAutoButton"

            android:text="RUN AUTO"
            android:textColor="#FFFFFF"
            android:textSize="15sp"
            android:layout_width="0px"
            android:layout_weight="1"
            android:layout_height="50dp"
            android:background="@drawable/buttonshape">
        </Button>
        <Button
            android:id="@+id/saveButton"

            android:text="SAVE"
            android:textColor="#FFFFFF"
            android:textSize="15sp"
            android:layout_width="0px"
            android:layout_weight="1"
            android:layout_height="50dp"
            android:background="@drawable/buttonshape">

        </Button>
        <Button
            android:id="@+id/infoButton"
            android:layout_width="50dp"
            android:layout_height="40dp"
            android:background="@drawable/information"></Button>
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="105dp">

        <TextView
            android:id="@+id/displayDetails"
            android:layout_width="wrap_content"
            android:layout_height="0dp"
            android:layout_marginLeft="5dp"
            android:layout_marginRight="5dp"
            android:text="Result ..."
            android:typeface="monospace"
            android:maxLines = "20"
            android:scrollbars = "vertical"
            android:textStyle="bold"
            android:layout_weight="4">
        </TextView>



        <!--
        <ListView
            android:id="@+id/tests_list_view"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_marginLeft="2dp"
            android:layout_marginRight="2dp"
            android:layout_marginBottom="2dp"
            android:background="#fff8ce"
            android:layout_weight="1">
            ></ListView>
        -->
        <GridView android:id="@+id/listGrid"
            android:layout_width="match_parent" android:layout_height="0dp"
            android:numColumns="2" android:verticalSpacing="1dp"
            android:horizontalSpacing="10dp" android:columnWidth="90dp"
            android:stretchMode="columnWidth" android:gravity="center"
            android:background="#fff8ce"
            android:layout_marginLeft="2dp"
            android:layout_marginRight="2dp"
            android:layout_marginBottom="2dp"
            android:layout_weight="4"
            />

        <Button
            android:id="@+id/showHideDisplay"
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:text="Hide Display"
            android:background="@drawable/buttonshape"
            android:textColor="#FFFFFF"
            android:layout_gravity="center_horizontal">
        </Button>


    </LinearLayout>






</RelativeLayout>