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

69 lines
2.4 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" />
2020-01-13 21:20:52 +01: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">
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" />
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">
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" />
</LinearLayout>
2013-04-28 01:01:34 +02:00
</LinearLayout>