Android Question [B4X] SimpleMediaManager (SMM) - DefaultResizeMode

Solution

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

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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…