• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <RelativeLayout
37        android:id="@+id/mainToggleEffectsLayout"
38        android:layout_width="match_parent"
39        android:layout_height="50dip"
40        android:background="#999"
41        android:gravity="center_vertical"
42        android:paddingRight="4dip">
43        <TextView
44            android:id="@+id/mainToggleEffectsTitleTextView"
45            android:layout_width="wrap_content"
46            android:layout_height="wrap_content"
47            android:layout_marginLeft="15dip"
48            android:layout_alignParentLeft="true"
49            android:textAppearance="?android:attr/textAppearanceLarge"
50            android:text="@string/eq_dialog_title" />
51        <Switch
52            android:id="@+id/mainToggleEffectsCheckBox"
53            android:layout_width="wrap_content"
54            android:layout_height="wrap_content"
55            android:layout_alignParentRight="true" />
56    </RelativeLayout>
57
58    <ScrollView
59        android:id="@+id/contentSoundEffects"
60        android:orientation="vertical"
61        android:layout_width="match_parent"
62        android:layout_height="wrap_content">
63
64        <LinearLayout
65            android:layout_width="match_parent"
66            android:layout_height="wrap_content"
67            android:gravity="center_vertical"
68            android:orientation="vertical">
69
70            <Spinner android:id="@+id/eqSpinner"
71                android:layout_width="wrap_content"
72                android:layout_height="wrap_content"
73                android:minHeight="?android:attr/listPreferredItemHeight"
74                android:drawSelectorOnTop="true"
75            />
76
77            <include layout="@layout/music_eq" />
78
79            <LinearLayout
80                android:id="@+id/bBLayout"
81                android:layout_width="match_parent"
82                android:layout_height="wrap_content"
83                android:minHeight="?android:attr/listPreferredItemHeight"
84                android:gravity="center_vertical"
85                android:paddingRight="?android:attr/scrollbarSize"
86                android:layout_marginLeft="15dip"
87                android:layout_marginRight="6dip"
88                android:layout_marginTop="6dip"
89                android:layout_marginBottom="6dip"
90                android:orientation="horizontal"
91                android:background="@android:drawable/list_selector_background">
92                <TextView
93                    android:id="@+id/bBStrengthText"
94                    android:layout_width="wrap_content"
95                    android:layout_height="wrap_content"
96                    android:layout_weight="1"
97                    android:textAppearance="?android:attr/textAppearanceLarge"
98                    android:ellipsize="marquee"
99                    android:fadingEdge="horizontal"
100                    android:text="@string/bass_boost_strength" />
101                <com.android.musicfx.seekbar.SeekBar
102                    android:id="@+id/bBStrengthSeekBar"
103                    android:layout_width="170dip"
104                    android:layout_height="wrap_content"
105                    android:paddingTop="2dip"
106                    android:paddingLeft="20dip"
107                    android:paddingRight="20dip" />
108            </LinearLayout>
109
110            <LinearLayout
111                android:id="@+id/vILayout"
112                android:layout_width="match_parent"
113                android:layout_height="wrap_content"
114                android:minHeight="?android:attr/listPreferredItemHeight"
115                android:gravity="center_vertical"
116                android:paddingRight="?android:attr/scrollbarSize"
117                android:layout_marginLeft="15dip"
118                android:layout_marginRight="6dip"
119                android:layout_marginTop="6dip"
120                android:layout_marginBottom="6dip"
121                android:orientation="horizontal"
122                android:background="@android:drawable/list_selector_background">
123                <TextView
124                    android:id="@+id/vIStrengthText"
125                    android:layout_width="wrap_content"
126                    android:layout_height="wrap_content"
127                    android:layout_weight="1"
128                    android:textAppearance="?android:attr/textAppearanceLarge"
129                    android:ellipsize="marquee"
130                    android:fadingEdge="horizontal"
131                    android:text="@string/virtualizer_strength" />
132                <com.android.musicfx.seekbar.SeekBar
133                    android:id="@+id/vIStrengthSeekBar"
134                    android:layout_width="170dip"
135                    android:layout_height="wrap_content"
136                    android:paddingTop="2dip"
137                    android:paddingLeft="20dip"
138                    android:paddingRight="20dip" />
139            </LinearLayout>
140
141            <Spinner android:id="@+id/prSpinner"
142                android:layout_width="fill_parent"
143                android:layout_height="wrap_content"
144                android:minHeight="?android:attr/listPreferredItemHeight"
145                android:drawSelectorOnTop="true"
146                android:visibility="gone"
147            />
148
149        </LinearLayout>
150    </ScrollView>
151</LinearLayout>
152