I was able to get the result I want but at some point I want to programmatically toggle the fullscreen button. I tried to set toggledFullscreen(boolean) but no effect at all.
I also tried to change the onBackPressed and just call its super but still it changes the view mode between full and minimize view before exiting the app. I do not need it for my case I want to close the app after backpress no more minimizing the player can I do that? Thanks by the way because of this sample I am nearly to what I need to do for this task.
I was able to get the result I want but at some point I want to programmatically toggle the fullscreen button. I tried to set toggledFullscreen(boolean) but no effect at all.
I also tried to change the onBackPressed and just call its super but still it changes the view mode between full and minimize view before exiting the app. I do not need it for my case I want to close the app after backpress no more minimizing the player can I do that? Thanks by the way because of this sample I am nearly to what I need to do for this task.