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: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/bbReleaseLayout" 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/bbReleaseText" 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/bbReleaseButton" 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/bbControlLayout" 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/bbControlText" 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/bassboostOnOff" 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 <LinearLayout 132 android:layout_width="fill_parent" 133 android:layout_height="wrap_content" 134 android:gravity="center_horizontal" 135 android:orientation="vertical" 136 android:layout_marginLeft="10dip" 137 android:layout_marginTop="10dip" 138 android:layout_marginRight="10dip" 139 android:layout_marginBottom="10dip" 140 > 141 142 <TextView android:id="@+id/bbStrengthName" 143 android:layout_width="fill_parent" 144 android:layout_height="wrap_content" 145 android:text="@string/stength_name" /> 146 147 <LinearLayout android:id="@+id/bbStrengthDesc" 148 android:orientation="horizontal" 149 android:layout_width="fill_parent" 150 android:layout_height="wrap_content" 151 android:layout_marginLeft="10dip" 152 android:layout_marginTop="10dip" 153 android:layout_marginRight="30dip" 154 android:layout_marginBottom="10dip" > 155 156 <TextView android:id="@+id/bbStrengthMin" 157 android:layout_width="fill_parent" 158 android:layout_height="fill_parent" 159 android:layout_weight="1" 160 android:layout_gravity="left" 161 android:gravity="left"/> 162 <TextView android:id="@+id/bbStrengthMax" 163 android:layout_width="fill_parent" 164 android:layout_height="fill_parent" 165 android:layout_weight="1" 166 android:layout_gravity="right" 167 android:gravity="right"/> 168 </LinearLayout> 169 170 <SeekBar android:id="@+id/bbStrengthSeekBar" 171 android:layout_width="fill_parent" 172 android:layout_height="wrap_content" 173 android:max="100" 174 android:progress="50" 175 android:layout_marginLeft="10dip" 176 android:layout_marginRight="30dip" /> 177 178 <TextView android:id="@+id/bbStrengthValue" 179 android:layout_width="fill_parent" 180 android:layout_height="wrap_content" /> 181 182 </LinearLayout> 183 184 <ImageView 185 android:src="@android:drawable/divider_horizontal_dark" 186 android:layout_width="fill_parent" 187 android:layout_height="wrap_content" 188 android:scaleType="fitXY"/> 189 190 </LinearLayout> 191 192 </ScrollView> 193 194 </LinearLayout> 195