Fixed next previous clicks causing endless forward/rewind
This commit is contained in:
parent
9f668e5bf8
commit
c8ce98b1df
2 changed files with 13 additions and 7 deletions
|
@ -106,7 +106,7 @@
|
|||
app:layout_constraintStart_toStartOf="@id/volumeSeekBar"
|
||||
app:layout_constraintTop_toTopOf="@id/volumeSeekBar" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
<ImageButton
|
||||
android:id="@+id/nextButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -118,7 +118,7 @@
|
|||
app:srcCompat="@drawable/ic_skip_next_round_white_32dp"
|
||||
app:tint="@color/md_green_500" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
<ImageButton
|
||||
android:id="@+id/previousButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
@ -125,31 +125,37 @@
|
|||
app:layout_constraintBottom_toBottomOf="@id/volumeSeekBar"
|
||||
app:layout_constraintEnd_toEndOf="@id/volumeSeekBar"
|
||||
app:layout_constraintStart_toStartOf="@id/volumeSeekBar"
|
||||
app:layout_constraintTop_toTopOf="@id/volumeSeekBar" />
|
||||
app:layout_constraintTop_toTopOf="@id/volumeSeekBar"
|
||||
android:src="@drawable/ic_pause"
|
||||
tools:tint="@color/md_black_1000" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
<ImageButton
|
||||
android:id="@+id/nextButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:background="?attr/roundSelector"
|
||||
android:padding="16dp"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/playPauseButton"
|
||||
app:layout_constraintStart_toEndOf="@+id/playPauseButton"
|
||||
app:layout_constraintTop_toTopOf="@+id/playPauseButton"
|
||||
app:srcCompat="@drawable/ic_skip_next_round_white_32dp"
|
||||
app:tint="@color/md_green_500" />
|
||||
tools:tint="@color/md_white_1000" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
<ImageButton
|
||||
android:id="@+id/previousButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="?attr/roundSelector"
|
||||
android:padding="16dp"
|
||||
android:scaleType="fitCenter"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/playPauseButton"
|
||||
app:layout_constraintEnd_toStartOf="@+id/playPauseButton"
|
||||
app:layout_constraintTop_toTopOf="@+id/playPauseButton"
|
||||
app:srcCompat="@drawable/ic_skip_previous_round_white_32dp"
|
||||
app:tint="@color/md_green_500" />
|
||||
tools:tint="@color/md_white_1000" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/materialTextView3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue