152 lines
5.2 KiB
XML
152 lines
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2012 Christopher Eby <kreed@kreed.org>
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
-->
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<ch.blinkenlights.android.vanilla.CoverView
|
|
android:id="@+id/cover_view"
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="fill_parent" />
|
|
<TableLayout
|
|
android:id="@+id/info_table"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:collapseColumns="0"
|
|
android:stretchColumns="1"
|
|
android:shrinkColumns="1"
|
|
android:background="?overlay_background_color"
|
|
android:paddingLeft="5dip"
|
|
android:paddingRight="5dip">
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_title"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:textStyle="bold" />
|
|
<TextView
|
|
android:id="@+id/queue_pos"
|
|
android:singleLine="true"
|
|
android:layout_gravity="top" />
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_artist"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/artist" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_album"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/album" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_genre"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/genre" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_track"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/track" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_year"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/year" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_composer"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/composer" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_format"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/format" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<TableRow>
|
|
<TextView
|
|
android:text="@string/_replaygain"
|
|
android:textColor="?overlay_foreground_color"
|
|
android:paddingRight="5dip"
|
|
android:gravity="right" />
|
|
<TextView android:id="@+id/replaygain" android:textColor="?overlay_foreground_color"/>
|
|
</TableRow>
|
|
<LinearLayout android:id="@+id/controls_top">
|
|
<TextView
|
|
android:id="@+id/elapsed"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:textSize="10sp"
|
|
android:layout_gravity="center" />
|
|
<SeekBar
|
|
android:id="@+id/seek_bar"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0px"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:paddingLeft="18dip"
|
|
android:paddingRight="18dip" />
|
|
<TextView
|
|
android:id="@+id/duration"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:textSize="10sp"
|
|
android:layout_gravity="center" />
|
|
</LinearLayout>
|
|
</TableLayout>
|
|
<LinearLayout
|
|
android:id="@+id/controls_bottom"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_gravity="bottom|left"
|
|
android:layout_margin="0dip"
|
|
android:background="?overlay_background_color"
|
|
android:orientation="horizontal">
|
|
<include layout="@layout/controls" />
|
|
</LinearLayout>
|
|
</merge>
|