2016-01-02 16:08:18 +01:00
<?xml version="1.0" encoding="utf-8"?>
2017-04-17 01:20:14 -03:00
<FrameLayout xmlns:android= "http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="64dp"
xmlns:tools="http://schemas.android.com/tools">
2016-01-02 16:08:18 +01:00
<LinearLayout
2017-04-17 01:20:14 -03:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/notificationContent"
2016-02-19 13:22:49 +01:00
android:layout_width="match_parent"
android:layout_height="64dp"
2017-04-17 01:20:14 -03:00
android:background="@color/background_notification_color"
2016-02-19 13:22:49 +01:00
android:gravity="center_vertical"
android:orientation="horizontal">
2016-01-02 16:08:18 +01:00
2016-02-19 13:22:49 +01:00
<ImageView
android:id="@+id/notificationCover"
android:layout_width="64dp"
android:layout_height="64dp"
2017-04-17 01:20:14 -03:00
android:scaleType="centerCrop"
2016-02-19 13:22:49 +01:00
android:src="@drawable/dummy_thumbnail"
2017-04-17 01:20:14 -03:00
tools:ignore="ContentDescription"/>
2016-01-02 16:08:18 +01:00
2016-02-19 13:22:49 +01:00
<LinearLayout
android:layout_width="0dp"
2016-01-02 16:08:18 +01:00
android:layout_height="wrap_content"
2016-02-19 13:22:49 +01:00
android:layout_marginLeft="8dp"
android:layout_weight="1"
2017-04-17 01:20:14 -03:00
android:orientation="vertical"
tools:ignore="RtlHardcoded">
2016-02-19 13:22:49 +01:00
<TextView
android:id="@+id/notificationSongName"
2017-04-17 01:20:14 -03:00
android:layout_width="match_parent"
android:ellipsize="end"
2016-02-19 13:22:49 +01:00
android:layout_height="wrap_content"
2017-04-17 01:20:14 -03:00
android:maxLines="1"
android:textSize="14sp"
2017-11-15 20:42:05 -08:00
android:textColor="@color/background_title_color"
2017-04-17 01:20:14 -03:00
tools:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec aliquam augue, eget cursus est. Ut id tristique enim, ut scelerisque tellus. Sed ultricies ipsum non mauris ultricies, commodo malesuada velit porta."/>
2016-01-02 16:08:18 +01:00
2016-02-19 13:22:49 +01:00
<TextView
android:id="@+id/notificationArtist"
2017-04-17 01:20:14 -03:00
android:layout_width="match_parent"
android:ellipsize="end"
2016-02-19 13:22:49 +01:00
android:layout_height="wrap_content"
2017-04-17 01:20:14 -03:00
android:maxLines="1"
android:textSize="12sp"
2017-11-15 20:42:05 -08:00
android:textColor="@color/background_subtext_color"
2017-04-17 01:20:14 -03:00
tools:text="Duis posuere arcu condimentum lobortis mattis."/>
2016-02-19 13:22:49 +01:00
</LinearLayout>
2016-06-16 09:11:18 -04:00
<ImageButton
2017-04-17 01:20:14 -03:00
android:id="@+id/notificationRepeat"
2016-06-16 09:11:18 -04:00
android:layout_width="40dp"
2017-04-17 01:20:14 -03:00
android:layout_height="match_parent"
android:background="#00000000"
android:clickable="true"
2017-10-22 12:43:49 -07:00
android:focusable="true"
2017-04-17 01:20:14 -03:00
android:padding="5dp"
android:scaleType="fitCenter"
android:src="@drawable/ic_repeat_white"
tools:ignore="ContentDescription"/>
<ImageButton
android:id="@+id/notificationFRewind"
android:layout_width="45dp"
android:layout_height="match_parent"
android:background="#00000000"
2016-06-16 09:11:18 -04:00
android:clickable="true"
2017-10-22 12:43:49 -07:00
android:focusable="true"
2017-04-17 01:20:14 -03:00
android:padding="5dp"
android:scaleType="fitCenter"
2017-10-22 12:43:49 -07:00
android:src="@drawable/exo_controls_previous"
2017-04-17 01:20:14 -03:00
tools:ignore="ContentDescription"/>
2016-06-16 09:11:18 -04:00
2016-02-19 13:22:49 +01:00
<ImageButton
android:id="@+id/notificationPlayPause"
2017-04-17 01:20:14 -03:00
android:layout_width="45dp"
android:layout_height="match_parent"
android:background="#00000000"
2016-02-19 13:22:49 +01:00
android:clickable="true"
2017-10-22 12:43:49 -07:00
android:focusable="true"
2017-04-17 01:20:14 -03:00
android:src="@drawable/ic_pause_white"
tools:ignore="ContentDescription"/>
<ImageButton
android:id="@+id/notificationFForward"
android:layout_width="45dp"
android:layout_height="match_parent"
android:background="#00000000"
android:clickable="true"
2017-10-22 12:43:49 -07:00
android:focusable="true"
2017-04-17 01:20:14 -03:00
android:padding="5dp"
android:scaleType="fitCenter"
2017-10-22 12:43:49 -07:00
android:src="@drawable/exo_controls_next"
2017-04-17 01:20:14 -03:00
tools:ignore="ContentDescription"/>
2016-02-19 13:22:49 +01:00
<ImageButton
android:id="@+id/notificationStop"
android:layout_width="40dp"
android:layout_height="40dp"
2017-04-17 01:20:14 -03:00
android:layout_marginLeft="5dp"
android:background="#00000000"
2016-02-19 13:22:49 +01:00
android:clickable="true"
2017-10-22 12:43:49 -07:00
android:focusable="true"
2017-04-17 01:20:14 -03:00
android:padding="5dp"
android:scaleType="fitCenter"
2017-04-26 16:24:33 -03:00
android:src="@drawable/ic_close_white_24dp"
2017-04-17 01:20:14 -03:00
tools:ignore="ContentDescription,RtlHardcoded"/>
2016-02-19 13:22:49 +01:00
</LinearLayout>
2016-01-02 16:08:18 +01:00
2017-04-17 01:20:14 -03:00
<ProgressBar
android:id="@+id/notificationProgressBar"
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_gravity="bottom"
android:layout_marginLeft="64dp"
android:progressDrawable="@drawable/custom_progress_bar"
tools:ignore="RtlHardcoded"
tools:progress="52"/>
</FrameLayout>