Android Question Scale for smaller screen

Bucky108

Member
Licensed User
Longtime User
I have an app that uses the SD_FlexGrid with SimpleExoPlayer and SimpleExoPlayerView.

It runs fine on two Google Pixel phones but on an old Samsung S6 the SimpleExoPlayerView gets cut off.

All of the views are contained in a panel that anchors top/bottom and left/right.

In the designer I tried this:

Scale:
'All variants script
AutoScaleAll

If ActivitySize < 4.5 Then
    AutoScale(SimpleExoPlayerView)
    SimpleExoPlayerView.Height = SimpleExoPlayerView.Height - 90
End If

which didn't work.

Any suggestions?
 
Top