blob: bd56d62d29d2d6d2d913dc645e20961a805fea1c [file] [log] [blame]
Jason Samsebefb2c2012-08-15 17:26:39 -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
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 <Spinner
54 android:id="@+id/filterselection"
55 android:layout_width="fill_parent"
56 android:layout_height="wrap_content"/>
57 <TextView
58 android:id="@+id/slider1Text"
59 android:layout_width="match_parent"
60 android:layout_height="wrap_content"
61 android:textSize="8pt"
62 android:layout_marginLeft="10sp"
63 android:layout_marginTop="15sp"
64 android:text="@string/saturation"/>
65 <SeekBar
66 android:id="@+id/slider1"
67 android:layout_marginLeft="10sp"
68 android:layout_marginRight="10sp"
69 android:layout_width="match_parent"
70 android:layout_height="wrap_content"/>
71 <TextView
72 android:id="@+id/slider2Text"
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 android:textSize="8pt"
76 android:layout_marginLeft="10sp"
77 android:layout_marginTop="15sp"
78 android:text="@string/gamma"/>
79 <SeekBar
80 android:id="@+id/slider2"
81 android:layout_marginLeft="10sp"
82 android:layout_marginRight="10sp"
83 android:layout_width="match_parent"
84 android:layout_height="wrap_content"/>
85 <TextView
86 android:id="@+id/slider3Text"
87 android:layout_width="match_parent"
88 android:layout_height="wrap_content"
89 android:layout_marginLeft="10sp"
90 android:layout_marginTop="15sp"
91 android:textSize="8pt"
92 android:text="@string/out_white"/>
93 <SeekBar
94 android:id="@+id/slider3"
95 android:layout_marginLeft="10sp"
96 android:layout_marginRight="10sp"
97 android:layout_width="match_parent"
98 android:layout_height="wrap_content"/>
99 <TextView
100 android:id="@+id/slider4Text"
101 android:layout_width="match_parent"
102 android:layout_height="wrap_content"
103 android:textSize="8pt"
104 android:layout_marginLeft="10sp"
105 android:layout_marginTop="15sp"
106 android:text="@string/in_white"/>
107 <SeekBar
108 android:id="@+id/slider4"
109 android:layout_marginLeft="10sp"
110 android:layout_marginRight="10sp"
111 android:layout_width="match_parent"
112 android:layout_height="wrap_content"/>
113 <TextView
114 android:id="@+id/slider5Text"
115 android:layout_width="match_parent"
116 android:layout_height="wrap_content"
117 android:textSize="8pt"
118 android:layout_marginLeft="10sp"
119 android:layout_marginTop="15sp"
120 android:text="@string/in_white"/>
121 <SeekBar
122 android:id="@+id/slider5"
123 android:layout_marginLeft="10sp"
124 android:layout_marginRight="10sp"
125 android:layout_width="match_parent"
126 android:layout_height="wrap_content"/>
127 </LinearLayout>
128 </ScrollView>
129</LinearLayout>
130