Add media controls to notification
Add media controls to the Playback Notification [Loop, Last, Play/Pause, Next, Shuffle]
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
android:layout_marginStart="@dimen/margin_mid_large"
|
||||
android:contentDescription="@string/description_skip_next"
|
||||
android:background="@drawable/ui_unbounded_ripple"
|
||||
android:src="@drawable/ic_skip_next"
|
||||
android:src="@drawable/ic_skip_next_large"
|
||||
android:onClick="@{() -> playbackModel.skipNext()}"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/playback_play_pause"
|
||||
app:layout_constraintStart_toEndOf="@+id/playback_play_pause"
|
||||
@@ -178,7 +178,7 @@
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:layout_width="@dimen/size_play_pause_compact"
|
||||
android:layout_height="@dimen/size_play_pause_compact"
|
||||
android:src="@drawable/ic_skip_prev"
|
||||
android:src="@drawable/ic_skip_prev_large"
|
||||
android:contentDescription="@string/description_skip_prev"
|
||||
android:background="@drawable/ui_unbounded_ripple"
|
||||
android:layout_marginEnd="@dimen/margin_mid_large"
|
||||
@@ -207,7 +207,7 @@
|
||||
android:layout_width="@dimen/size_play_pause_compact"
|
||||
android:layout_height="@dimen/size_play_pause_compact"
|
||||
android:background="@drawable/ui_unbounded_ripple"
|
||||
android:src="@drawable/ic_loop"
|
||||
android:src="@drawable/ic_loop_large"
|
||||
android:layout_marginStart="@dimen/margin_mid_large"
|
||||
android:onClick="@{() -> playbackModel.incrementLoopStatus()}"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/playback_play_pause"
|
||||
|
||||
Reference in New Issue
Block a user