kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Implement "pause/play" toggle on hardware keyboard space button.
rodzic
522d6d8b01
commit
aea912f499
|
@ -1850,6 +1850,7 @@ public final class VideoDetailFragment
|
|||
|
||||
if (fullscreen) {
|
||||
hideSystemUiIfNeeded();
|
||||
binding.overlayPlayPauseButton.requestFocus();
|
||||
} else {
|
||||
showSystemUi();
|
||||
}
|
||||
|
|
|
@ -675,6 +675,8 @@
|
|||
android:background="?attr/selectableItemBackground"
|
||||
android:padding="10dp"
|
||||
android:scaleType="center"
|
||||
android:focusable="true"
|
||||
android:focusedByDefault="true"
|
||||
app:srcCompat="?attr/ic_play_arrow"
|
||||
tools:ignore="ContentDescription,RtlHardcoded" />
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue