blob: f0a2b9244a6573880cc4f60974ef6a2ac301a849 [file] [log] [blame]
Romain Guyd7fa1222009-10-09 16:05:25 -07001<?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
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:orientation="vertical"
19 android:layout_width="fill_parent"
Alex Sakhartchoukabf2b932011-04-22 12:42:47 -070020 android:layout_height="fill_parent"
21 android:id="@+id/toplevel">
Romain Guyd7fa1222009-10-09 16:05:25 -070022 <SurfaceView
23 android:id="@+id/surface"
24 android:layout_width="1dip"
25 android:layout_height="1dip" />
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080026 <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">
Alex Sakhartchoukabf2b932011-04-22 12:42:47 -070033 <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>
Jason Sams525418162012-07-19 16:31:47 -070053 <Spinner
54 android:id="@+id/filterselection"
55 android:layout_width="fill_parent"
56 android:layout_height="wrap_content"/>
Tim Murray74478f72012-09-26 13:46:46 -070057 <Spinner
58 android:id="@+id/spinner1"
59 android:layout_width="fill_parent"
60 android:layout_height="wrap_content"/>
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080061 <TextView
Jason Sams525418162012-07-19 16:31:47 -070062 android:id="@+id/slider1Text"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080063 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 android:textSize="8pt"
66 android:layout_marginLeft="10sp"
67 android:layout_marginTop="15sp"
68 android:text="@string/saturation"/>
69 <SeekBar
Jason Sams525418162012-07-19 16:31:47 -070070 android:id="@+id/slider1"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080071 android:layout_marginLeft="10sp"
72 android:layout_marginRight="10sp"
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"/>
75 <TextView
Jason Sams525418162012-07-19 16:31:47 -070076 android:id="@+id/slider2Text"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080077 android:layout_width="match_parent"
78 android:layout_height="wrap_content"
79 android:textSize="8pt"
80 android:layout_marginLeft="10sp"
81 android:layout_marginTop="15sp"
82 android:text="@string/gamma"/>
83 <SeekBar
Jason Sams525418162012-07-19 16:31:47 -070084 android:id="@+id/slider2"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080085 android:layout_marginLeft="10sp"
86 android:layout_marginRight="10sp"
87 android:layout_width="match_parent"
88 android:layout_height="wrap_content"/>
89 <TextView
Jason Sams525418162012-07-19 16:31:47 -070090 android:id="@+id/slider3Text"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080091 android:layout_width="match_parent"
92 android:layout_height="wrap_content"
93 android:layout_marginLeft="10sp"
94 android:layout_marginTop="15sp"
95 android:textSize="8pt"
96 android:text="@string/out_white"/>
97 <SeekBar
Jason Sams525418162012-07-19 16:31:47 -070098 android:id="@+id/slider3"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080099 android:layout_marginLeft="10sp"
100 android:layout_marginRight="10sp"
101 android:layout_width="match_parent"
102 android:layout_height="wrap_content"/>
103 <TextView
Jason Sams525418162012-07-19 16:31:47 -0700104 android:id="@+id/slider4Text"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -0800105 android:layout_width="match_parent"
106 android:layout_height="wrap_content"
107 android:textSize="8pt"
108 android:layout_marginLeft="10sp"
109 android:layout_marginTop="15sp"
110 android:text="@string/in_white"/>
111 <SeekBar
Jason Sams525418162012-07-19 16:31:47 -0700112 android:id="@+id/slider4"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -0800113 android:layout_marginLeft="10sp"
114 android:layout_marginRight="10sp"
115 android:layout_width="match_parent"
116 android:layout_height="wrap_content"/>
117 <TextView
Jason Sams525418162012-07-19 16:31:47 -0700118 android:id="@+id/slider5Text"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -0800119 android:layout_width="match_parent"
120 android:layout_height="wrap_content"
121 android:textSize="8pt"
122 android:layout_marginLeft="10sp"
123 android:layout_marginTop="15sp"
Jason Sams525418162012-07-19 16:31:47 -0700124 android:text="@string/in_white"/>
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -0800125 <SeekBar
Jason Sams525418162012-07-19 16:31:47 -0700126 android:id="@+id/slider5"
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -0800127 android:layout_marginLeft="10sp"
128 android:layout_marginRight="10sp"
129 android:layout_width="match_parent"
130 android:layout_height="wrap_content"/>
Jason Samsb94d69a2012-09-21 17:42:13 -0700131 <Button
132 android:layout_width="wrap_content"
133 android:layout_height="wrap_content"
134 android:text="@string/benchmark_all"
135 android:onClick="benchmark_all"/>
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -0800136 </LinearLayout>
137 </ScrollView>
138</LinearLayout>
Alex Sakhartchouk814326b2010-05-19 16:28:27 -0700139