2013-04-24 18:31:42 +02:00
|
|
|
<?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"
|
2013-05-16 09:59:55 +02:00
|
|
|
android:orientation="vertical"
|
2013-04-28 01:01:34 +02:00
|
|
|
android:visibility="gone" >
|
2013-05-16 09:59:55 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_height="4dip"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:background="@drawable/drop_shadow" />
|
2020-01-13 21:20:52 +01:00
|
|
|
|
2013-05-16 09:59:55 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/now_playing_view"
|
|
|
|
android:layout_width="fill_parent"
|
2020-01-13 21:20:52 +01:00
|
|
|
android:layout_height="wrap_content">
|
2013-04-24 18:31:42 +02:00
|
|
|
|
2020-01-13 21:20:52 +01: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-24 18:31:42 +02:00
|
|
|
|
2020-01-13 21:20:52 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0.0dp"
|
2013-04-28 01:01:34 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-13 21:20:52 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="11.0dip">
|
2013-04-24 18:31:42 +02:00
|
|
|
|
2020-01-13 21:20:52 +01: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" />
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/now_playing_control_play"
|
2020-11-04 16:51:45 +01:00
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="32dp"
|
2020-01-13 21:20:52 +01:00
|
|
|
android:layout_gravity="center|right"
|
|
|
|
android:layout_marginTop="2dip"
|
2020-11-04 16:51:45 +01:00
|
|
|
android:layout_marginRight="16dip"
|
2020-01-13 21:20:52 +01:00
|
|
|
android:layout_weight="0.0"
|
|
|
|
android:focusable="false"
|
2020-11-04 16:51:45 +01:00
|
|
|
android:scaleType="fitCenter"
|
2020-01-13 21:20:52 +01:00
|
|
|
android:src="?attr/media_pause" />
|
2013-04-24 18:31:42 +02:00
|
|
|
|
2013-05-16 09:59:55 +02:00
|
|
|
</LinearLayout>
|
2013-04-28 01:01:34 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|