mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-27 00:47:48 +01:00
Remove star when offline Use ID3 tags when in offline mode Album, Artist and Song layout tweaks Add track number to song view Added setting to use top-level folder name for album artist when more than one artist is found Added setting to remove bitrate and file suffix on artist in song view
53 lines
1.7 KiB
XML
53 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
|
a:orientation="horizontal"
|
|
a:layout_width="fill_parent"
|
|
a:layout_height="wrap_content"
|
|
a:minHeight="?android:attr/listPreferredItemHeight"
|
|
>
|
|
|
|
<ImageView
|
|
a:id="@+id/album_coverart"
|
|
a:layout_width="wrap_content"
|
|
a:layout_height="wrap_content"
|
|
a:layout_gravity="left|center_vertical"
|
|
a:paddingTop="1dip"
|
|
a:paddingBottom="1dip"/>
|
|
|
|
<LinearLayout
|
|
a:orientation="vertical"
|
|
a:layout_width="0dip"
|
|
a:layout_height="wrap_content"
|
|
a:layout_weight="1"
|
|
a:layout_gravity="left|center_vertical"
|
|
a:paddingLeft="6dip"
|
|
a:paddingRight="3dip">
|
|
|
|
<TextView
|
|
a:id="@+id/album_title"
|
|
a:layout_width="wrap_content"
|
|
a:layout_height="wrap_content"
|
|
a:textAppearance="?android:attr/textAppearanceMedium"
|
|
a:singleLine="true"
|
|
a:ellipsize="marquee"/>
|
|
|
|
<TextView
|
|
a:id="@+id/album_artist"
|
|
a:layout_width="wrap_content"
|
|
a:layout_height="wrap_content"
|
|
a:textAppearance="?android:attr/textAppearanceSmall"
|
|
a:singleLine="true"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
a:id="@+id/album_star"
|
|
a:layout_width="wrap_content"
|
|
a:layout_height="fill_parent"
|
|
a:gravity="center_vertical"
|
|
a:background="@android:color/transparent"
|
|
a:src="@drawable/star_hollow"
|
|
a:focusable="false" />
|
|
|
|
</LinearLayout>
|