102 lines
3.5 KiB
XML
102 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2010 Christopher Eby <kreed@kreed.org>
|
|
|
|
This file is part of Vanilla Music Player.
|
|
|
|
Vanilla Music Player is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU Library General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or (at your
|
|
option) any later version.
|
|
|
|
Vanilla Music Player is distributed in the hope that it will be useful, but
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<LinearLayout
|
|
android:id="@+id/selector_layout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
<TabHost
|
|
android:id="@android:id/tabhost"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<TabWidget
|
|
android:id="@android:id/tabs"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" />
|
|
<FrameLayout
|
|
android:id="@android:id/tabcontent"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<ListView
|
|
android:id="@+id/artist_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:divider="@null"
|
|
android:fastScrollEnabled="true" />
|
|
<ListView
|
|
android:id="@+id/album_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:divider="@null"
|
|
android:fastScrollEnabled="true" />
|
|
<ListView
|
|
android:id="@+id/song_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:divider="@null"
|
|
android:fastScrollEnabled="true" />
|
|
<ListView
|
|
android:id="@+id/playlist_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:divider="@null"
|
|
android:fastScrollEnabled="true" />
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</TabHost>
|
|
<LinearLayout
|
|
android:id="@+id/limiter_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|left" />
|
|
<ViewStub
|
|
android:id="@+id/controls_stub"
|
|
android:layout="@layout/song_selector_controls"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/search_box"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:paddingTop="4dip"
|
|
android:paddingLeft="4dip"
|
|
android:paddingRight="4dip"
|
|
android:visibility="gone"
|
|
android:background="@drawable/search_background">
|
|
<EditText
|
|
android:id="@+id/filter_text"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textFilter" />
|
|
<org.kreed.vanilla.ControlButton
|
|
android:id="@+id/clear_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:src="@android:drawable/ic_menu_close_clear_cancel" />
|
|
</RelativeLayout>
|
|
</merge> |