Another part of UI improvements for Android TV
- focus will be hidden right after start of a video; fullscreen works like this too - back button will not needed to be pressed one more time like before - prev & next buttons for playqueue will be hidden with play/pause button before video be ready to play
This commit is contained in:
parent
24e7a11067
commit
4764b5c7ad
4 changed files with 16 additions and 9 deletions
|
|
@ -2158,8 +2158,9 @@ public class VideoDetailFragment
|
|||
/**
|
||||
* That's for Android TV support. Move focus from main fragment to the player or back
|
||||
* based on what is currently selected
|
||||
*
|
||||
* @param toMain if true than the main fragment will be focused or the player otherwise
|
||||
* */
|
||||
*/
|
||||
private void moveFocusToMainFragment(final boolean toMain) {
|
||||
final ViewGroup mainFragment = requireActivity().findViewById(R.id.fragment_holder);
|
||||
// Hamburger button steels a focus even under bottomSheet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue