• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2007, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent" >
22
23    <LinearLayout
24        android:id="@+id/outside"
25        android:clickable="true"
26        android:focusable="true"
27        android:focusableInTouchMode="true"
28        android:gravity="center"
29        android:layout_width="match_parent"
30        android:layout_height="match_parent"
31        android:layout_marginRight="10dp"
32        android:layout_marginLeft="10dp"
33        android:orientation="vertical">
34      <requestFocus />
35
36        <LinearLayout
37            android:gravity="center"
38            android:layout_width="match_parent"
39            android:layout_height="match_parent"
40            android:orientation="horizontal">
41            <TextView
42                android:textSize="30dp"
43                android:layout_height="wrap_content"
44                android:layout_width="wrap_content"
45                android:text="@string/replication_label" />
46            <EditText
47                android:id="@+id/replication"
48                android:inputType="number"
49                android:layout_weight="1"
50                android:layout_width="wrap_content"
51                android:layout_height="wrap_content"
52                android:maxLength="4"
53                android:text="@integer/replication_default"
54                android:textSize="30dp"/>
55        </LinearLayout>
56
57        <LinearLayout
58            android:gravity="center"
59            android:layout_width="match_parent"
60            android:layout_height="match_parent"
61            android:orientation="horizontal">
62            <TextView
63                android:textSize="30dp"
64                android:layout_height="wrap_content"
65                android:layout_width="wrap_content"
66                android:text="@string/bucket_label" />
67             <Spinner
68                 android:id="@+id/bucket_spinner"
69                 android:layout_width="wrap_content"
70                 android:layout_height="wrap_content"
71                 android:prompt="@string/bucket_label"/>
72        </LinearLayout>
73
74        <LinearLayout
75            android:gravity="center"
76            android:layout_width="match_parent"
77            android:layout_height="match_parent"
78            android:orientation="horizontal">
79            <TextView
80                android:textSize="30dp"
81                android:layout_height="wrap_content"
82                android:layout_width="wrap_content"
83                android:text="@string/period_label" />
84            <EditText
85                android:id="@+id/period"
86                android:inputType="number"
87                android:layout_weight="1"
88                android:layout_width="match_parent"
89                android:layout_height="wrap_content"
90                android:maxLength="3"
91                android:text="@integer/period_default"
92                android:textSize="30dp"/>
93        </LinearLayout>
94
95        <LinearLayout
96            android:gravity="center"
97            android:layout_width="match_parent"
98            android:layout_height="match_parent"
99            android:orientation="horizontal">
100            <TextView
101                android:textSize="30dp"
102                android:layout_height="wrap_content"
103                android:layout_width="wrap_content"
104                android:text="@string/burst_label" />
105            <EditText
106                android:id="@+id/burst"
107                android:inputType="number"
108                android:layout_weight="1"
109                android:layout_width="wrap_content"
110                android:layout_height="wrap_content"
111                android:maxLength="4"
112                android:text="@integer/burst_default"
113                android:textSize="30dp"/>
114        </LinearLayout>
115
116        <LinearLayout
117            android:gravity="center"
118            android:layout_width="match_parent"
119            android:layout_height="match_parent"
120            android:orientation="horizontal">
121            <TextView
122                android:textSize="30dp"
123                android:layout_height="wrap_content"
124                android:layout_width="wrap_content"
125                android:text="@string/duration_label" />
126            <EditText
127                android:id="@+id/duration"
128                android:inputType="number"
129                android:layout_weight="1"
130                android:layout_width="match_parent"
131                android:layout_height="wrap_content"
132                android:maxLength="4"
133                android:text="@integer/duration_default"
134                android:textSize="30dp"/>
135        </LinearLayout>
136        <CheckBox
137            android:id="@+id/placebo"
138            android:layout_width="wrap_content"
139            android:layout_height="wrap_content"
140            android:text="@string/placebo"
141            android:checked="false" />
142
143        <LinearLayout
144            android:gravity="center"
145            android:layout_width="match_parent"
146            android:layout_height="wrap_content"
147            android:orientation="horizontal">
148            <CheckBox
149                android:id="@+id/include_count"
150                android:layout_width="wrap_content"
151                android:layout_height="wrap_content"
152                android:text="@string/count"
153                android:checked="true"/>
154            <CheckBox
155                android:id="@+id/include_duration"
156                android:layout_width="wrap_content"
157                android:layout_height="wrap_content"
158                android:text="@string/duration"
159                android:checked="true"/>
160            <CheckBox
161                android:id="@+id/include_event"
162                android:layout_width="wrap_content"
163                android:layout_height="wrap_content"
164                android:text="@string/event"
165                android:checked="true"/>
166            <CheckBox
167                android:id="@+id/include_value"
168                android:layout_width="wrap_content"
169                android:layout_height="wrap_content"
170                android:text="@string/value"
171                android:checked="true"/>
172            <CheckBox
173                android:id="@+id/include_gauge"
174                android:layout_width="wrap_content"
175                android:layout_height="wrap_content"
176                android:text="@string/gauge"
177                android:checked="true"/>
178        </LinearLayout>
179
180        <Space
181            android:layout_width="1dp"
182            android:layout_height="30dp"/>
183
184        <Button
185            android:id="@+id/start_stop"
186            android:layout_width="wrap_content"
187            android:layout_height="wrap_content"
188            android:background="#ffff0000"
189            android:text="@string/start"
190            android:textSize="50dp"/>
191
192        <Space
193            android:layout_width="1dp"
194            android:layout_height="30dp"/>
195
196        <Space
197            android:layout_width="1dp"
198            android:layout_height="30dp"/>
199
200        <TextView
201            android:id="@+id/report_text"
202            android:gravity="center"
203            android:layout_width="match_parent"
204            android:layout_height="wrap_content" />
205
206    </LinearLayout>
207
208</ScrollView>
209