Fix player queue/segments list buttons not focusable with DPAD

Now the in-player play queue and the segments list are closeable
This commit is contained in:
Stypox 2022-02-27 15:25:08 +01:00
parent 627b4c8b14
commit a0bbcd2fee
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
2 changed files with 4 additions and 3 deletions

View File

@ -3215,6 +3215,9 @@ public final class Player implements
binding.itemsListPanel.setTranslationY(
-binding.itemsListPanel.getHeight() * 5);
});
// clear focus, otherwise a white rectangle remains on top of the player
binding.itemsListClose.clearFocus();
binding.playPauseButton.requestFocus();
}
}

View File

@ -545,9 +545,7 @@
<RelativeLayout
android:id="@+id/itemsListControl"
android:layout_width="match_parent"
android:layout_height="60dp"
android:clickable="true"
android:focusable="true">
android:layout_height="60dp">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/itemsListHeaderTitle"