blob: 08a010ddc995c4f0b65096684351ed948192b935 [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>
Alex Sakhartchoukdb217e02011-02-17 14:43:27 -080053 <TextView
54 android:id="@+id/inSaturationText"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:textSize="8pt"
58 android:layout_marginLeft="10sp"
59 android:layout_marginTop="15sp"
60 android:text="@string/saturation"/>
61 <SeekBar
62 android:id="@+id/inSaturation"
63 android:layout_marginLeft="10sp"
64 android:layout_marginRight="10sp"
65 android:layout_width="match_parent"
66 android:layout_height="wrap_content"/>
67 <TextView
68 android:id="@+id/inGammaText"
69 android:layout_width="match_parent"
70 android:layout_height="wrap_content"
71 android:textSize="8pt"
72 android:layout_marginLeft="10sp"
73 android:layout_marginTop="15sp"
74 android:text="@string/gamma"/>
75 <SeekBar
76 android:id="@+id/inGamma"
77 android:layout_marginLeft="10sp"
78 android:layout_marginRight="10sp"
79 android:layout_width="match_parent"
80 android:layout_height="wrap_content"/>
81 <TextView
82 android:id="@+id/outWhiteText"
83 android:layout_width="match_parent"
84 android:layout_height="wrap_content"
85 android:layout_marginLeft="10sp"
86 android:layout_marginTop="15sp"
87 android:textSize="8pt"
88 android:text="@string/out_white"/>
89 <SeekBar
90 android:id="@+id/outWhite"
91 android:layout_marginLeft="10sp"
92 android:layout_marginRight="10sp"
93 android:layout_width="match_parent"
94 android:layout_height="wrap_content"/>
95 <TextView
96 android:id="@+id/inWhiteText"
97 android:layout_width="match_parent"
98 android:layout_height="wrap_content"
99 android:textSize="8pt"
100 android:layout_marginLeft="10sp"
101 android:layout_marginTop="15sp"
102 android:text="@string/in_white"/>
103 <SeekBar
104 android:id="@+id/inWhite"
105 android:layout_marginLeft="10sp"
106 android:layout_marginRight="10sp"
107 android:layout_width="match_parent"
108 android:layout_height="wrap_content"/>
109 <TextView
110 android:id="@+id/outBlackText"
111 android:layout_width="match_parent"
112 android:layout_height="wrap_content"
113 android:textSize="8pt"
114 android:layout_marginLeft="10sp"
115 android:layout_marginTop="15sp"
116 android:text="@string/out_black"/>
117 <SeekBar
118 android:id="@+id/outBlack"
119 android:layout_marginLeft="10sp"
120 android:layout_marginRight="10sp"
121 android:layout_width="match_parent"
122 android:layout_height="wrap_content"/>
123 <TextView
124 android:id="@+id/inBlackText"
125 android:layout_width="match_parent"
126 android:layout_height="wrap_content"
127 android:textSize="8pt"
128 android:layout_marginLeft="10sp"
129 android:layout_marginTop="15sp"
130 android:text="@string/in_black"/>
131 <SeekBar
132 android:id="@+id/inBlack"
133 android:layout_marginLeft="10sp"
134 android:layout_marginRight="10sp"
135 android:layout_width="match_parent"
136 android:layout_height="wrap_content"/>
137 <TextView
138 android:id="@+id/blurText"
139 android:layout_width="match_parent"
140 android:layout_height="wrap_content"
141 android:textSize="8pt"
142 android:layout_marginLeft="10sp"
143 android:layout_marginTop="15sp"
144 android:text="@string/blur_description"/>
145 <SeekBar
146 android:id="@+id/radius"
147 android:layout_marginLeft="10sp"
148 android:layout_marginRight="10sp"
149 android:layout_width="match_parent"
150 android:layout_height="wrap_content"/>
151 </LinearLayout>
152 </ScrollView>
153</LinearLayout>
Alex Sakhartchouk814326b2010-05-19 16:28:27 -0700154