| Jason Sams | ebefb2c | 2012-08-15 17:26:39 -0700 | [diff] [blame] | 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 | <Spinner |
| 54 | android:id="@+id/filterselection" |
| 55 | android:layout_width="fill_parent" |
| 56 | android:layout_height="wrap_content"/> |
| Jason Sams | b2ae7a1 | 2012-10-10 18:17:53 -0700 | [diff] [blame] | 57 | <Spinner |
| 58 | android:id="@+id/spinner1" |
| 59 | android:layout_width="fill_parent" |
| 60 | android:layout_height="wrap_content"/> |
| Jason Sams | ebefb2c | 2012-08-15 17:26:39 -0700 | [diff] [blame] | 61 | <TextView |
| 62 | android:id="@+id/slider1Text" |
| 63 | 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 |
| 70 | android:id="@+id/slider1" |
| 71 | android:layout_marginLeft="10sp" |
| 72 | android:layout_marginRight="10sp" |
| 73 | android:layout_width="match_parent" |
| 74 | android:layout_height="wrap_content"/> |
| 75 | <TextView |
| 76 | android:id="@+id/slider2Text" |
| 77 | 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 |
| 84 | android:id="@+id/slider2" |
| 85 | android:layout_marginLeft="10sp" |
| 86 | android:layout_marginRight="10sp" |
| 87 | android:layout_width="match_parent" |
| 88 | android:layout_height="wrap_content"/> |
| 89 | <TextView |
| 90 | android:id="@+id/slider3Text" |
| 91 | 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 |
| 98 | android:id="@+id/slider3" |
| 99 | android:layout_marginLeft="10sp" |
| 100 | android:layout_marginRight="10sp" |
| 101 | android:layout_width="match_parent" |
| 102 | android:layout_height="wrap_content"/> |
| 103 | <TextView |
| 104 | android:id="@+id/slider4Text" |
| 105 | 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 |
| 112 | android:id="@+id/slider4" |
| 113 | android:layout_marginLeft="10sp" |
| 114 | android:layout_marginRight="10sp" |
| 115 | android:layout_width="match_parent" |
| 116 | android:layout_height="wrap_content"/> |
| 117 | <TextView |
| 118 | android:id="@+id/slider5Text" |
| 119 | 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" |
| 124 | android:text="@string/in_white"/> |
| 125 | <SeekBar |
| 126 | android:id="@+id/slider5" |
| 127 | android:layout_marginLeft="10sp" |
| 128 | android:layout_marginRight="10sp" |
| 129 | android:layout_width="match_parent" |
| 130 | android:layout_height="wrap_content"/> |
| Jason Sams | b2ae7a1 | 2012-10-10 18:17:53 -0700 | [diff] [blame] | 131 | <Button |
| 132 | android:layout_width="wrap_content" |
| 133 | android:layout_height="wrap_content" |
| 134 | android:text="@string/benchmark_all" |
| 135 | android:onClick="benchmark_all"/> |
| Jason Sams | ebefb2c | 2012-08-15 17:26:39 -0700 | [diff] [blame] | 136 | </LinearLayout> |
| 137 | </ScrollView> |
| 138 | </LinearLayout> |
| 139 | |