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 34 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 35 android:orientation="horizontal" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content"> 38 <view class="com.android.rs.imagejb.ImageProcessingActivityJB$SizedTV" 39 android:id="@+id/display" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" /> 42 <ImageView 43 android:id="@+id/display2" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" /> 46 </LinearLayout> 47 48 <Spinner 49 android:id="@+id/spinner1" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content"/> 52 <TextView 53 android:id="@+id/slider1Text" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:textSize="8pt" 57 android:layout_marginLeft="10sp" 58 android:layout_marginTop="15sp" 59 android:text="@string/saturation"/> 60 <SeekBar 61 android:id="@+id/slider1" 62 android:layout_marginLeft="10sp" 63 android:layout_marginRight="10sp" 64 android:layout_width="match_parent" 65 android:layout_height="wrap_content"/> 66 <TextView 67 android:id="@+id/slider2Text" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 android:textSize="8pt" 71 android:layout_marginLeft="10sp" 72 android:layout_marginTop="15sp" 73 android:text="@string/gamma"/> 74 <SeekBar 75 android:id="@+id/slider2" 76 android:layout_marginLeft="10sp" 77 android:layout_marginRight="10sp" 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content"/> 80 <TextView 81 android:id="@+id/slider3Text" 82 android:layout_width="match_parent" 83 android:layout_height="wrap_content" 84 android:layout_marginLeft="10sp" 85 android:layout_marginTop="15sp" 86 android:textSize="8pt" 87 android:text="@string/out_white"/> 88 <SeekBar 89 android:id="@+id/slider3" 90 android:layout_marginLeft="10sp" 91 android:layout_marginRight="10sp" 92 android:layout_width="match_parent" 93 android:layout_height="wrap_content"/> 94 <TextView 95 android:id="@+id/slider4Text" 96 android:layout_width="match_parent" 97 android:layout_height="wrap_content" 98 android:textSize="8pt" 99 android:layout_marginLeft="10sp" 100 android:layout_marginTop="15sp" 101 android:text="@string/in_white"/> 102 <SeekBar 103 android:id="@+id/slider4" 104 android:layout_marginLeft="10sp" 105 android:layout_marginRight="10sp" 106 android:layout_width="match_parent" 107 android:layout_height="wrap_content"/> 108 <TextView 109 android:id="@+id/slider5Text" 110 android:layout_width="match_parent" 111 android:layout_height="wrap_content" 112 android:textSize="8pt" 113 android:layout_marginLeft="10sp" 114 android:layout_marginTop="15sp" 115 android:text="@string/in_white"/> 116 <SeekBar 117 android:id="@+id/slider5" 118 android:layout_marginLeft="10sp" 119 android:layout_marginRight="10sp" 120 android:layout_width="match_parent" 121 android:layout_height="wrap_content"/> 122 </LinearLayout> 123 </ScrollView> 124</LinearLayout> 125 126