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:orientation="vertical"
19            android:layout_width="fill_parent"
20            android:layout_height="fill_parent"
21            android:id="@+id/toplevel">
22    <SurfaceView
23        android:id="@+id/surface"
24        android:layout_width="1dip"
25        android:layout_height="1dip" />
26    <ScrollView
27        android:layout_width="fill_parent"
28        android:layout_height="fill_parent">
29      <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
30                    android:orientation="vertical"
31                    android:layout_width="fill_parent"
32                    android:layout_height="fill_parent">
33        <ImageView
34           android:id="@+id/display"
35           android:layout_width="wrap_content"
36           android:layout_height="wrap_content" />
37        <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
38                      android:orientation="horizontal"
39                      android:layout_width="fill_parent"
40                      android:layout_height="wrap_content">
41          <Button
42             android:layout_width="wrap_content"
43             android:layout_height="wrap_content"
44             android:text="@string/benchmark"
45             android:onClick="benchmark"/>
46          <TextView
47             android:id="@+id/benchmarkText"
48             android:layout_width="match_parent"
49             android:layout_height="wrap_content"
50             android:textSize="8pt"
51             android:text="@string/saturation"/>
52        </LinearLayout>
53	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
54		      android:layout_width="fill_parent" android:layout_height="fill_parent"
55		      android:id="@+id/layoutContainer" android:orientation="horizontal">
56	  <RelativeLayout
57	     android:layout_width="0dip"
58	     android:layout_height="fill_parent"
59	     android:layout_weight="0.40">
60	    <TextView
61               android:layout_width="fill_parent"
62               android:layout_height="fill_parent"
63	       android:gravity="center"
64               android:text="@string/filter1_label"
65               />
66	  </RelativeLayout>
67	  <RelativeLayout
68	     android:layout_width="0dip"
69	     android:layout_height="fill_parent"
70	     android:layout_weight="0.60">
71	    <Spinner
72               android:id="@+id/filterselection"
73               android:layout_width="fill_parent"
74               android:layout_height="wrap_content"/>
75	  </RelativeLayout>
76	</LinearLayout>
77
78	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
79		      android:layout_width="fill_parent" android:layout_height="fill_parent"
80		      android:id="@+id/layoutContainer" android:orientation="horizontal">
81	  <RelativeLayout
82	     android:layout_width="0dip"
83	     android:layout_height="fill_parent"
84	     android:layout_weight="0.40">
85	    <TextView
86               android:layout_width="fill_parent"
87               android:layout_height="fill_parent"
88	       android:gravity="center"
89               android:text="@string/filter2_label"
90               />
91	  </RelativeLayout>
92	  <RelativeLayout
93	     android:layout_width="0dip"
94	     android:layout_height="fill_parent"
95	     android:layout_weight="0.60">
96	    <Spinner
97               android:id="@+id/filter2selection"
98               android:layout_width="fill_parent"
99               android:layout_height="wrap_content"/>
100	  </RelativeLayout>
101	</LinearLayout>
102
103	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
104		      android:layout_width="fill_parent" android:layout_height="fill_parent"
105		      android:id="@+id/layoutContainer" android:orientation="horizontal">
106	  <RelativeLayout
107	     android:layout_width="0dip"
108	     android:layout_height="fill_parent"
109	     android:layout_weight="0.40">
110	    <TextView
111               android:layout_width="fill_parent"
112               android:layout_height="fill_parent"
113	       android:gravity="center"
114               android:text="@string/mode_label"
115               />
116	  </RelativeLayout>
117	  <RelativeLayout
118	     android:layout_width="0dip"
119	     android:layout_height="fill_parent"
120	     android:layout_weight="0.60">
121	    <Spinner
122               android:id="@+id/modeselection"
123               android:layout_width="fill_parent"
124               android:layout_height="wrap_content"/>
125	  </RelativeLayout>
126	</LinearLayout>
127
128        <Spinner
129           android:id="@+id/spinner1"
130           android:layout_width="fill_parent"
131           android:layout_height="wrap_content"/>
132        <Button
133           android:layout_width="wrap_content"
134           android:layout_height="wrap_content"
135           android:text="@string/benchmark_all"
136           android:onClick="benchmark_all"/>
137      </LinearLayout>
138    </ScrollView>
139</LinearLayout>
140
141