Added a restart song button to signle track expanded notification

... and some comments to the code
This commit is contained in:
Peter Hindes 2019-10-14 16:37:58 -06:00
parent 3794002c7b
commit cb5c219ffe
2 changed files with 28 additions and 2 deletions

View file

@ -116,6 +116,22 @@
android:src="@drawable/ic_repeat_white"
tools:ignore="ContentDescription"/>
<ImageButton
android:id="@+id/notificationRestartTrack"
android:layout_width="40dp"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_marginRight="5dp"
android:layout_toLeftOf="@+id/notificationFRewind"
android:background="#00000000"
android:clickable="true"
android:focusable="true"
android:padding="2dp"
android:scaleType="fitCenter"
android:src="@drawable/exo_controls_previous"
android:visibility="gone"
tools:ignore="ContentDescription"/>
<ImageButton
android:id="@+id/notificationFRewind"
android:layout_width="40dp"