B4J Code Snippet (Update) Beautiful display of MediaView and MediaController.

Improvements in the display of MediaView and MediaController to the current version.

EDIT:
The best full screen form solution.
B4X:
Public Sub SetFullScreen (Status As Boolean)
    FormUtils.SetFullScreenExitKeyCombination(B4XPages.GetNativeParent(Me),FUtils_KeyCombinations.GetKeyCombination(Array As String(FUtils_KeyCombinations.KC_CONTROL,"I")))
    FormUtils.SetFullScreenExitHint(B4XPages.GetNativeParent(Me),"")
    FormUtils.SetFullScreen(B4XPages.GetNativeParent(Me),Status)
End Sub

Normal

1710993798805.png



Custom Settings:
Colors of icons, text and background.

examples:

1710995778773.png


1710995880721.png


Gradient colors
1711165073634.png


Note:
I'm currently testing different types of videos and compatibility with SimpleMediaManager (SMM).

Ref:

Your observations will be welcome.

Regards.
 
Last edited:

TILogistic

Expert
Licensed User
Longtime User
Version 1.1

New:
Added display of controls when hovering the mouse over the screen.
Added hand icon type to navigate the controls.

Preserve normal aspect ratio

1711384541766.png


fill normal aspect ratio

1711384876465.png
 
Last edited:
Top