Xml文件  |  567行  |  23.5 KB

<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2010-2011 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/eqcontainer"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:gravity="center_horizontal">

    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_marginTop="10dip"
        android:layout_marginBottom="32dip">

        <TextView
            android:id="@+id/maxLevelText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:layout_alignParentTop="true"
        />
        <TextView
            android:id="@+id/centerLevelText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:layout_centerVertical="true"
        />
        <TextView
            android:id="@+id/minLevelText"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:layout_alignParentBottom="true"
        />
    </RelativeLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:gravity="center_vertical">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand0SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand0TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand1SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand1TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand2SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand2TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand3SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand3TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand4SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand4TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand5SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand5TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand6SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand6TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand7SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand7TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand8SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand8TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand9SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand9TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand10SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand10TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand11SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand11TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand12SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand12TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand13SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand13TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand14SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand14TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand15SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand15TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand16SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand16TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand17SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand17TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand18SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand18TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand19SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand19TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand20SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand20TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand21SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand21TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand22SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand22TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand23SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand23TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand24SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand24TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand25SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand25TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand26SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand26TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand27SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand27TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand28SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand28TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand29SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand29TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand30SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand30TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_height="match_parent">
        <com.android.musicfx.seekbar.SeekBar
            android:id="@+id/EQBand31SeekBar"
            style="@style/Widget.Holo.SeekBar.Vertical"
            android:layout_margin="@dimen/eq_slider_margin"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/eq_slider_height" />
        <TextView
            android:id="@+id/EQBand31TextView"
            android:layout_width="50dip"
            android:layout_height="wrap_content"
            android:layout_gravity="center" />
    </LinearLayout>
</LinearLayout>