67 lines
2.3 KiB
XML
67 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/notification_image"
|
|
android:layout_width="64.0dip"
|
|
android:layout_height="64.0dip"
|
|
android:layout_weight="0.0"
|
|
android:gravity="center" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="11.0dip">
|
|
|
|
<TextView
|
|
android:id="@+id/notification_title"
|
|
style="@style/NotificationText.Title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left"
|
|
android:ellipsize="marquee"
|
|
android:focusable="true"
|
|
android:singleLine="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/notification_artist"
|
|
style="@style/NotificationText.Content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:scrollHorizontally="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/notification_album"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
<ImageButton
|
|
android:id="@+id/control_previous"
|
|
style="@style/NotificationButton"
|
|
app:srcCompat="@drawable/notification_media_backward" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/control_pause"
|
|
style="@style/NotificationButton"
|
|
android:layout_width="54dip"
|
|
android:padding="0dip"
|
|
app:srcCompat="@drawable/notification_media_pause" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/control_next"
|
|
style="@style/NotificationButton"
|
|
app:srcCompat="@drawable/notification_media_forward" />
|
|
</LinearLayout>
|