1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2010 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:layout_width="fill_parent" 19 android:layout_height="fill_parent" 20 android:orientation="vertical"> 21 22 <ImageView 23 android:src="@android:drawable/divider_horizontal_dark" 24 android:layout_width="fill_parent" 25 android:layout_height="wrap_content" 26 android:scaleType="fitXY"/> 27 28 <LinearLayout android:id="@+id/presetrvbReleaseLayout" 29 android:orientation="horizontal" 30 android:layout_width="fill_parent" 31 android:layout_height="wrap_content" 32 android:layout_marginLeft="10dip" 33 android:layout_marginTop="10dip" 34 android:layout_marginRight="10dip" 35 android:layout_marginBottom="10dip" > 36 37 <TextView android:id="@+id/presetrvbReleaseText" 38 android:layout_width="fill_parent" 39 android:layout_height="fill_parent" 40 android:layout_weight="1.0" 41 android:layout_gravity="center_vertical|left" 42 android:text="@string/effect_release" 43 style="@android:style/TextAppearance.Medium" /> 44 45 <ToggleButton android:id="@+id/presetrvbReleaseButton" 46 android:layout_width="wrap_content" 47 android:layout_height="fill_parent" 48 android:layout_gravity="center_vertical|right" 49 android:layout_weight="0.0" /> 50 51 </LinearLayout> 52 53 <ImageView 54 android:src="@android:drawable/divider_horizontal_dark" 55 android:layout_width="fill_parent" 56 android:layout_height="wrap_content" 57 android:scaleType="fitXY"/> 58 59 <LinearLayout android:id="@+id/presetrvbControlLayout" 60 android:orientation="horizontal" 61 android:layout_width="fill_parent" 62 android:layout_height="wrap_content" 63 android:layout_marginLeft="10dip" 64 android:layout_marginTop="10dip" 65 android:layout_marginRight="10dip" 66 android:layout_marginBottom="10dip" > 67 68 <TextView android:id="@+id/presetrvbControlText" 69 android:layout_width="fill_parent" 70 android:layout_height="fill_parent" 71 android:layout_weight="1.0" 72 android:layout_gravity="center_vertical|left" 73 android:text="@string/effect_control" 74 style="@android:style/TextAppearance.Medium" /> 75 76 <ToggleButton android:id="@+id/presetrvbOnOff" 77 android:layout_width="wrap_content" 78 android:layout_height="fill_parent" 79 android:layout_gravity="center_vertical|right" 80 android:layout_weight="0.0" /> 81 82 </LinearLayout> 83 84 <ImageView 85 android:src="@android:drawable/divider_horizontal_dark" 86 android:layout_width="fill_parent" 87 android:layout_height="wrap_content" 88 android:scaleType="fitXY"/> 89 90 <LinearLayout android:id="@+id/SessionFrame" 91 android:orientation="horizontal" 92 android:layout_width="fill_parent" 93 android:layout_height="wrap_content" 94 android:layout_marginLeft="10dip" 95 android:layout_marginTop="10dip" 96 android:layout_marginRight="10dip" 97 android:layout_marginBottom="10dip" > 98 99 <TextView android:id="@+id/sessionText" 100 android:layout_width="fill_parent" 101 android:layout_height="fill_parent" 102 android:layout_weight="0.5" 103 android:layout_gravity="center_vertical|left" 104 android:text="@string/session" 105 style="@android:style/TextAppearance.Medium" /> 106 107 <EditText android:id="@+id/sessionEdit" 108 android:singleLine="true" 109 android:numeric="integer" 110 android:layout_width="fill_parent" 111 android:layout_height="wrap_content" 112 android:layout_weight="0.5" 113 android:layout_gravity="center_vertical|right" /> 114 </LinearLayout> 115 116 <ImageView 117 android:src="@android:drawable/divider_horizontal_dark" 118 android:layout_width="fill_parent" 119 android:layout_height="wrap_content" 120 android:scaleType="fitXY"/> 121 122 <ScrollView 123 android:layout_width="fill_parent" 124 android:layout_height="wrap_content" > 125 126 <LinearLayout 127 android:layout_width="fill_parent" 128 android:layout_height="wrap_content" 129 android:orientation="vertical"> 130 131 132 <ImageView 133 android:src="@android:drawable/divider_horizontal_dark" 134 android:layout_width="fill_parent" 135 android:layout_height="wrap_content" 136 android:scaleType="fitXY"/> 137 138 139 <LinearLayout 140 android:layout_width="fill_parent" 141 android:layout_height="wrap_content" 142 android:gravity="center_horizontal" 143 android:orientation="vertical" 144 android:layout_marginLeft="10dip" 145 android:layout_marginTop="10dip" 146 android:layout_marginRight="10dip" 147 android:layout_marginBottom="10dip" 148 > 149 150 <TextView android:id="@+id/presetrvbParam1Name" 151 android:layout_width="fill_parent" 152 android:layout_height="wrap_content" 153 android:text="@string/presetrvb_param_1_name" /> 154 155 <SeekBar android:id="@+id/presetrvbParam1SeekBar" 156 android:layout_width="fill_parent" 157 android:layout_height="wrap_content" 158 android:max="100" 159 android:progress="50" 160 android:layout_marginLeft="10dip" 161 android:layout_marginRight="30dip" /> 162 163 <TextView android:id="@+id/presetrvbParam1Value" 164 android:layout_width="fill_parent" 165 android:layout_height="wrap_content" /> 166 167 </LinearLayout> 168 169 <ImageView 170 android:src="@android:drawable/divider_horizontal_dark" 171 android:layout_width="fill_parent" 172 android:layout_height="wrap_content" 173 android:scaleType="fitXY"/> 174 175 </LinearLayout> 176 177 </ScrollView> 178 179</LinearLayout> 180