ultrasonic-app-subsonic-and.../ultrasonic/src/main/res/layout/now_playing.xml

69 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2013-04-28 01:01:34 +02:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/now_playing"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
2013-04-28 01:01:34 +02:00
android:visibility="gone" >
<LinearLayout
android:layout_height="4dip"
android:layout_width="fill_parent"
android:background="@drawable/drop_shadow" />
<LinearLayout
android:id="@+id/now_playing_view"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
2013-04-28 01:01:34 +02:00
<ImageView
android:id="@+id/now_playing_image"
android:layout_width="64.0dip"
android:layout_height="64.0dip"
android:focusable="true"
android:gravity="center" />
2013-04-28 01:01:34 +02:00
<LinearLayout
android:layout_width="0.0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1.0"
android:orientation="vertical"
android:paddingLeft="11.0dip" >
2013-04-28 01:01:34 +02:00
<TextView
android:id="@+id/now_playing_trackname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:ellipsize="marquee"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold" />
2013-04-28 01:01:34 +02:00
<TextView
android:id="@+id/now_playing_artist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:ellipsize="end"
android:scrollHorizontally="true"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
2013-04-28 01:01:34 +02:00
<ImageView
android:id="@+id/now_playing_control_play"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_marginRight="5dip"
android:layout_marginTop="2dip"
android:layout_weight="0.0"
android:focusable="false"
android:src="?attr/media_pause" />
</LinearLayout>
2013-04-28 01:01:34 +02:00
</LinearLayout>