1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:orientation="vertical"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent"
20    >
21    <HorizontalScrollView
22        android:id="@+id/horizontalScrollView"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        >
26        <LinearLayout
27            android:id="@+id/top"
28            android:layout_width="match_parent"
29            android:layout_height="wrap_content"
30            >
31            <Spinner
32                android:id="@+id/movement"
33                android:layout_width="wrap_content"
34                android:layout_height="wrap_content"
35                android:prompt="@string/movement_method"
36                />
37            <Spinner
38                android:id="@+id/velocity"
39                android:layout_width="wrap_content"
40                android:layout_height="wrap_content"
41                android:gravity="center_horizontal"
42                android:prompt="@string/desired_scroll_velocity"
43                />
44            <ToggleButton
45                android:id="@+id/capture"
46                android:layout_width="wrap_content"
47                android:layout_height="wrap_content"
48                android:textOn="@string/capture_stop"
49                android:textOff="@string/capture_start"
50                />
51            <EditText
52                android:id="@+id/url"
53                android:layout_width="400dp"
54                android:layout_height="wrap_content"
55                android:inputType="textUri"
56                android:imeOptions="actionGo|flagNoExtractUi"
57                android:layout_weight="1"
58                />
59            <Button
60                android:id="@+id/inspect"
61                android:layout_width="wrap_content"
62                android:layout_height="wrap_content"
63                android:text="@string/inspect_log"
64                />
65        </LinearLayout>
66    </HorizontalScrollView>
67    <com.test.tilebenchmark.ProfiledWebView
68        android:id="@+id/web"
69        android:layout_width="match_parent"
70        android:layout_height="match_parent"
71        />
72</LinearLayout>
73