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:
parent
627b4c8b14
commit
a0bbcd2fee
|
@ -3215,6 +3215,9 @@ public final class Player implements
|
||||||
binding.itemsListPanel.setTranslationY(
|
binding.itemsListPanel.setTranslationY(
|
||||||
-binding.itemsListPanel.getHeight() * 5);
|
-binding.itemsListPanel.getHeight() * 5);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// clear focus, otherwise a white rectangle remains on top of the player
|
||||||
|
binding.itemsListClose.clearFocus();
|
||||||
binding.playPauseButton.requestFocus();
|
binding.playPauseButton.requestFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -545,9 +545,7 @@
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/itemsListControl"
|
android:id="@+id/itemsListControl"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="60dp"
|
android:layout_height="60dp">
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/itemsListHeaderTitle"
|
android:id="@+id/itemsListHeaderTitle"
|
||||||
|
|
Loading…
Reference in New Issue