1<?xml version="1.0" encoding="utf-8" ?> 2<!-- Copyright (C) 2010-2011 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 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:orientation="vertical" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent"> 22 23 <TextView 24 android:id="@+id/noEffectsTextView" 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:textAppearance="?android:attr/textAppearanceLarge" 28 android:ellipsize="marquee" 29 android:fadingEdge="horizontal" 30 android:layout_gravity="center" 31 android:gravity="center" 32 android:text="@string/no_effects" 33 android:layout_weight="1" 34 android:visibility="gone" /> 35 36 <ScrollView 37 android:orientation="vertical" 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content"> 40 41 <LinearLayout 42 android:id="@+id/contentSoundEffects" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:gravity="center_vertical" 46 android:orientation="vertical"> 47 48 <Spinner android:id="@+id/eqSpinner" 49 android:layout_width="wrap_content" 50 android:layout_height="wrap_content" 51 android:minHeight="?android:attr/listPreferredItemHeight" 52 android:drawSelectorOnTop="true" 53 /> 54 55 <include layout="@layout/music_eq" /> 56 57 <LinearLayout 58 android:id="@+id/bBLayout" 59 android:layout_width="match_parent" 60 android:layout_height="wrap_content" 61 android:minHeight="?android:attr/listPreferredItemHeight" 62 android:gravity="center_vertical" 63 android:paddingRight="?android:attr/scrollbarSize" 64 android:layout_marginLeft="15dip" 65 android:layout_marginRight="6dip" 66 android:layout_marginTop="6dip" 67 android:layout_marginBottom="6dip" 68 android:orientation="horizontal" 69 android:background="@android:drawable/list_selector_background"> 70 <TextView 71 android:id="@+id/bBStrengthText" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:layout_weight="1" 75 android:textAppearance="?android:attr/textAppearanceMedium" 76 android:ellipsize="marquee" 77 android:fadingEdge="horizontal" 78 android:text="@string/bass_boost_strength" /> 79 <SeekBar 80 android:id="@+id/bBStrengthSeekBar" 81 android:layout_width="170dip" 82 android:layout_height="wrap_content" 83 android:paddingTop="2dip" 84 android:paddingLeft="20dip" 85 android:paddingRight="20dip" /> 86 </LinearLayout> 87 88 <LinearLayout 89 android:id="@+id/vILayout" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content" 92 android:minHeight="?android:attr/listPreferredItemHeight" 93 android:gravity="center_vertical" 94 android:paddingRight="?android:attr/scrollbarSize" 95 android:layout_marginLeft="15dip" 96 android:layout_marginRight="6dip" 97 android:layout_marginTop="6dip" 98 android:layout_marginBottom="6dip" 99 android:orientation="horizontal" 100 android:background="@android:drawable/list_selector_background"> 101 <TextView 102 android:id="@+id/vIStrengthText" 103 android:layout_width="wrap_content" 104 android:layout_height="wrap_content" 105 android:layout_weight="1" 106 android:textAppearance="?android:attr/textAppearanceMedium" 107 android:ellipsize="marquee" 108 android:fadingEdge="horizontal" 109 android:text="@string/virtualizer_strength" /> 110 <SeekBar 111 android:id="@+id/vIStrengthSeekBar" 112 android:layout_width="170dip" 113 android:layout_height="wrap_content" 114 android:paddingTop="2dip" 115 android:paddingLeft="20dip" 116 android:paddingRight="20dip" /> 117 <Switch 118 android:id="@+id/vIStrengthToggle" 119 android:layout_width="wrap_content" 120 android:layout_height="wrap_content" 121 android:paddingTop="2dip" 122 android:paddingLeft="20dip" 123 android:paddingRight="20dip" /> 124 </LinearLayout> 125 126 <Spinner android:id="@+id/prSpinner" 127 android:layout_width="fill_parent" 128 android:layout_height="wrap_content" 129 android:minHeight="?android:attr/listPreferredItemHeight" 130 android:drawSelectorOnTop="true" 131 android:visibility="gone" 132 /> 133 134 </LinearLayout> 135 </ScrollView> 136</LinearLayout> 137