Android Question [B4X] SimpleMediaManager (SMM) - DefaultResizeMode

Solution
1655300099011.png

You can change the resize mode in the request:
B4X:
MediaManager.SetMediaWithExtra(Pane3, "https://b4x-4c17.kxcdn.com/android/forum/data/avatars/m/116/116084.jpg?1653399474", "", CreateMap(MediaManager.REQUEST_RESIZE_MODE: "FILL"))

You can also change the default mode:
B4X:
MediaManager.DefaultResizeMode = "FILL"

Erel

B4X founder
Staff member
Licensed User
Longtime User
1655300099011.png

You can change the resize mode in the request:
B4X:
MediaManager.SetMediaWithExtra(Pane3, "https://b4x-4c17.kxcdn.com/android/forum/data/avatars/m/116/116084.jpg?1653399474", "", CreateMap(MediaManager.REQUEST_RESIZE_MODE: "FILL"))

You can also change the default mode:
B4X:
MediaManager.DefaultResizeMode = "FILL"
 
Upvote 1
Solution
Top