1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 * Copyright (C) 2010 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 20 android:orientation="vertical" 21 android:layout_width="fill_parent" 22 android:layout_height="fill_parent" 23 > 24 <TextView 25 android:layout_width="fill_parent" 26 android:layout_height="wrap_content" 27 android:text="@string/hello" 28 /> 29 <LinearLayout 30 android:orientation="horizontal" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 > 34 <Button 35 android:id="@+id/hello" 36 android:text="Hello" 37 android:layout_width="fill_parent" 38 android:layout_height="wrap_content" 39 /> 40 <Button 41 android:id="@+id/android" 42 android:text="Android" 43 android:layout_width="fill_parent" 44 android:layout_height="wrap_content" 45 /> 46 <Button 47 android:id="@+id/sawtooth" 48 android:text="Sawtooth" 49 android:layout_width="fill_parent" 50 android:layout_height="wrap_content" 51 /> 52 <Button 53 android:id="@+id/embedded_soundtrack" 54 android:text="Embedded\nsoundtrack" 55 android:layout_width="fill_parent" 56 android:layout_height="wrap_content" 57 /> 58 </LinearLayout> 59 <LinearLayout 60 android:orientation="horizontal" 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 > 64 <Button 65 android:id="@+id/reverb" 66 android:text="Reverb" 67 android:layout_width="fill_parent" 68 android:layout_height="wrap_content" 69 /> 70 <Button 71 android:id="@+id/mute_uri" 72 android:text="Mute" 73 android:layout_width="fill_parent" 74 android:layout_height="wrap_content" 75 /> 76 <Button 77 android:id="@+id/enable_stereo_position_uri" 78 android:text="Enable SP" 79 android:layout_width="fill_parent" 80 android:layout_height="wrap_content" 81 /> 82 </LinearLayout> 83 <LinearLayout 84 android:orientation="horizontal" 85 android:layout_width="wrap_content" 86 android:layout_height="wrap_content" 87 > 88 <Spinner 89 android:id="@+id/uri_spinner" 90 android:layout_width="fill_parent" 91 android:layout_height="wrap_content" 92 android:text="URI spinner" 93 /> 94 </LinearLayout> 95 <LinearLayout 96 android:orientation="horizontal" 97 android:layout_width="wrap_content" 98 android:layout_height="wrap_content" 99 > 100 <Button 101 android:id="@+id/uri_soundtrack" 102 android:text="URI\nsoundtrack" 103 android:layout_width="fill_parent" 104 android:layout_height="wrap_content" 105 /> 106 <Button 107 android:id="@+id/pause_uri" 108 android:text="Pause\nURI" 109 android:layout_width="fill_parent" 110 android:layout_height="wrap_content" 111 /> 112 <Button 113 android:id="@+id/play_uri" 114 android:text="Play\nURI" 115 android:layout_width="fill_parent" 116 android:layout_height="wrap_content" 117 /> 118 <Button 119 android:id="@+id/loop_uri" 120 android:text="Loop\nURI" 121 android:layout_width="fill_parent" 122 android:layout_height="wrap_content" 123 /> 124 </LinearLayout> 125 <LinearLayout 126 android:orientation="horizontal" 127 android:layout_width="wrap_content" 128 android:layout_height="wrap_content" 129 > 130 <Button 131 android:id="@+id/mute_left_uri" 132 android:text="mute left" 133 android:layout_width="fill_parent" 134 android:layout_height="wrap_content" 135 /> 136 <Button 137 android:id="@+id/mute_right_uri" 138 android:text="mute right" 139 android:layout_width="fill_parent" 140 android:layout_height="wrap_content" 141 /> 142 <Button 143 android:id="@+id/solo_left_uri" 144 android:text="solo left" 145 android:layout_width="fill_parent" 146 android:layout_height="wrap_content" 147 /> 148 <Button 149 android:id="@+id/solo_right_uri" 150 android:text="solo right" 151 android:layout_width="fill_parent" 152 android:layout_height="wrap_content" 153 /> 154 </LinearLayout> 155 <Button 156 android:id="@+id/channels_uri" 157 android:text="Get channels" 158 android:layout_width="fill_parent" 159 android:layout_height="wrap_content" 160 /> 161 <SeekBar 162 android:id="@+id/volume_uri" 163 android:text="Volume" 164 android:layout_width="fill_parent" 165 android:layout_height="wrap_content" 166 /> 167 <SeekBar 168 android:id="@+id/pan_uri" 169 android:text="Pan" 170 android:layout_width="fill_parent" 171 android:layout_height="wrap_content" 172 /> 173 <Button 174 android:id="@+id/record" 175 android:text="Record" 176 android:layout_width="fill_parent" 177 android:layout_height="wrap_content" 178 /> 179 <Button 180 android:id="@+id/playback" 181 android:text="Playback" 182 android:layout_width="fill_parent" 183 android:layout_height="wrap_content" 184 /> 185 </LinearLayout> 186