• 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    <FrameLayout
59        android:id="@+id/contentSoundEffects"
60        android:layout_width="match_parent"
61        android:layout_height="match_parent"
62        android:gravity="center">
63
64        <LinearLayout
65            android:layout_width="wrap_content"
66            android:layout_height="wrap_content"
67            android:gravity="center_vertical"
68            android:layout_gravity="center"
69            android:orientation="vertical">
70
71            <Spinner android:id="@+id/eqSpinner"
72              android:layout_width="wrap_content"
73              android:layout_height="wrap_content"
74              android:drawSelectorOnTop="true"
75            />
76
77            <LinearLayout
78                android:layout_width="wrap_content"
79                android:layout_height="wrap_content"
80                android:orientation="horizontal">
81
82                <include layout="@layout/music_eq" />
83
84                <LinearLayout
85                    android:layout_width="wrap_content"
86                    android:layout_height="wrap_content"
87                    android:orientation="vertical">
88
89                    <LinearLayout
90                        android:id="@+id/bBLayout"
91                        android:layout_width="match_parent"
92                        android:layout_height="wrap_content"
93                        android:minHeight="?android:attr/listPreferredItemHeight"
94                        android:gravity="center_vertical"
95                        android:paddingRight="?android:attr/scrollbarSize"
96                        android:layout_marginLeft="15dip"
97                        android:layout_marginRight="6dip"
98                        android:layout_marginTop="6dip"
99                        android:layout_marginBottom="6dip"
100                        android:orientation="vertical"
101                        android:background="@android:drawable/list_selector_background">
102                        <TextView
103                            android:id="@+id/bBStrengthText"
104                            android:layout_width="wrap_content"
105                            android:layout_height="wrap_content"
106                            android:layout_weight="1"
107                            android:textAppearance="?android:attr/textAppearanceLarge"
108                            android:ellipsize="marquee"
109                            android:fadingEdge="horizontal"
110                            android:text="@string/bass_boost_strength" />
111                        <com.android.musicfx.seekbar.SeekBar
112                            android:id="@+id/bBStrengthSeekBar"
113                            android:layout_width="170dip"
114                            android:layout_height="wrap_content"
115                            android:paddingTop="2dip"
116                            android:paddingLeft="20dip"
117                            android:paddingRight="20dip" />
118                    </LinearLayout>
119
120                    <LinearLayout
121                        android:id="@+id/vILayout"
122                        android:layout_width="match_parent"
123                        android:layout_height="wrap_content"
124                        android:minHeight="?android:attr/listPreferredItemHeight"
125                        android:gravity="center_vertical"
126                        android:paddingRight="?android:attr/scrollbarSize"
127                        android:layout_marginLeft="15dip"
128                        android:layout_marginRight="6dip"
129                        android:layout_marginTop="6dip"
130                        android:layout_marginBottom="6dip"
131                        android:orientation="vertical"
132                        android:background="@android:drawable/list_selector_background">
133                        <TextView
134                            android:id="@+id/vIStrengthText"
135                            android:layout_width="wrap_content"
136                            android:layout_height="wrap_content"
137                            android:layout_weight="1"
138                            android:textAppearance="?android:attr/textAppearanceLarge"
139                            android:ellipsize="marquee"
140                            android:fadingEdge="horizontal"
141                            android:text="@string/virtualizer_strength" />
142                        <com.android.musicfx.seekbar.SeekBar
143                            android:id="@+id/vIStrengthSeekBar"
144                            android:layout_width="170dip"
145                            android:layout_height="wrap_content"
146                            android:paddingTop="2dip"
147                            android:paddingLeft="20dip"
148                            android:paddingRight="20dip" />
149                    </LinearLayout>
150
151                    <Spinner android:id="@+id/prSpinner"
152                        android:layout_width="fill_parent"
153                        android:layout_height="wrap_content"
154                        android:minHeight="?android:attr/listPreferredItemHeight"
155                        android:drawSelectorOnTop="true"
156                        android:visibility="gone"
157                    />
158
159                </LinearLayout>
160            </LinearLayout>
161        </LinearLayout>
162    </FrameLayout>
163</LinearLayout>
164