• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    android:orientation="vertical"
21    >
22
23    <LinearLayout android:layout_width="match_parent"
24        android:layout_height="wrap_content"
25        android:orientation="horizontal"
26        >
27        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
28            android:textAppearance="?android:attr/textAppearanceMedium"
29            android:text="Foreground: "
30            />
31        <Spinner android:id="@+id/fgspinner"
32            android:layout_width="match_parent"
33            android:layout_height="wrap_content"
34            android:drawSelectorOnTop="true"
35        />
36    </LinearLayout>
37    <TextView android:id="@+id/fgtext"
38        android:layout_width="wrap_content" android:layout_height="wrap_content"
39        android:textAppearance="?android:attr/textAppearanceSmall"
40        />
41
42    <LinearLayout android:layout_width="match_parent"
43        android:layout_height="wrap_content"
44        android:orientation="horizontal"
45        android:layout_marginTop="10dp"
46        >
47        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
48            android:textAppearance="?android:attr/textAppearanceMedium"
49            android:text="Background: "
50            />
51        <Spinner android:id="@+id/bgspinner"
52            android:layout_width="match_parent"
53            android:layout_height="wrap_content"
54            android:drawSelectorOnTop="true"
55        />
56    </LinearLayout>
57    <TextView android:id="@+id/bgtext"
58        android:layout_width="wrap_content" android:layout_height="wrap_content"
59        android:textAppearance="?android:attr/textAppearanceSmall"
60        />
61
62    <LinearLayout android:layout_width="match_parent"
63        android:layout_height="wrap_content"
64        android:orientation="horizontal"
65        android:layout_marginTop="10dp"
66        >
67        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
68            android:textAppearance="?android:attr/textAppearanceMedium"
69            android:text="Limit by: "
70            />
71        <Spinner android:id="@+id/limitspinner"
72            android:layout_width="match_parent"
73            android:layout_height="wrap_content"
74            android:drawSelectorOnTop="true"
75        />
76    </LinearLayout>
77
78    <LinearLayout android:layout_width="match_parent"
79        android:layout_height="wrap_content"
80        android:orientation="horizontal"
81        android:layout_marginTop="10dp"
82        >
83        <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
84            android:textAppearance="?android:attr/textAppearanceMedium"
85            android:text="Test time (ms): "
86            android:id="@+id/limitlabel"
87            />
88        <EditText android:id="@+id/testtime"
89            android:layout_width="match_parent"
90            android:layout_height="wrap_content"
91            android:inputType="number"
92            android:text="5000"
93        />
94    </LinearLayout>
95
96    <LinearLayout android:layout_width="match_parent"
97        android:layout_height="wrap_content"
98        android:orientation="horizontal"
99        android:layout_marginTop="10dp"
100        >
101        <Button android:id="@+id/start"
102            android:layout_width="wrap_content"
103            android:layout_height="wrap_content"
104            android:text="@string/start"
105            />
106        <Button android:id="@+id/stop"
107            android:layout_width="wrap_content"
108            android:layout_height="wrap_content"
109            android:text="@string/stop"
110            />
111        <CheckBox android:id="@+id/local"
112            android:layout_width="wrap_content"
113            android:layout_height="wrap_content"
114            android:text="Local"
115            />
116    </LinearLayout>
117
118    <TextView android:id="@+id/log"
119        android:layout_width="match_parent"
120        android:layout_height="0px"
121        android:layout_weight="1"
122        android:layout_marginTop="10dp"
123        android:textSize="12sp"
124        android:textColor="#ffffffff"
125        />
126
127</LinearLayout>
128