@Erel This new feature in the rounded corners library for images is wonderful, but I still have one more suggestion.
Add the DefaultCornersRadius mode
With the default field, the command to load the image would be even simpler. Instead of having to create a map and load it with SetMediaWithExtra, we could use the simple SetMedia command.
- v1.19 - New DefaultCornersRadius mode. Sets the images corners radius.
Adjustments I made: SimpleMediaManager.Bas
Adjustments I made: SMMViews.Bas
Add the DefaultCornersRadius mode
With the default field, the command to load the image would be even simpler. Instead of having to create a map and load it with SetMediaWithExtra, we could use the simple SetMedia command.
- v1.19 - New DefaultCornersRadius mode. Sets the images corners radius.
Adjustments I made: SimpleMediaManager.Bas
B4X:
Sub Class_Globals
...
Public DefaultCornersRadius As Int = 0
...
End Sub
Adjustments I made: SMMViews.Bas
B4X:
Public Sub AddMedia(RequestSet As SMMediaRequestSet, MEDIA As SMMedia, Request As SMMediaRequest)
...
Select ViewType
Case VIEW_TYPE_B4XIMAGEVIEW
...
x.CornersRadius = Request.Extra.GetDefault(mManager.REQUEST_CORNERS_RADIUS, mManager.DefaultCornersRadius)
...
End Sub