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