I'm adding buttons instead of the hidden back button to allow the user to do specific actions.
To add a custom button on the top left corner of the application I use this code:
Dim bbBack As BarButton
bbBack.InitializeBitmap(LoadBitmap(File.DirAssets, "arrow.png"), "info")
bbBack.TintColor = Colors.White
InfoPage.TopLeftButtons = Array(bbBack)
The button shows, the tag is passed to the InfoPage_BarButtonClick etc. All fine.
Except that I can't find how to control the size of that button.
LoadBitmapSample in B4A would allow me to control the size of the image.
How can I control the size of the button except for resizing the used image itself ?
To add a custom button on the top left corner of the application I use this code:
Dim bbBack As BarButton
bbBack.InitializeBitmap(LoadBitmap(File.DirAssets, "arrow.png"), "info")
bbBack.TintColor = Colors.White
InfoPage.TopLeftButtons = Array(bbBack)
The button shows, the tag is passed to the InfoPage_BarButtonClick etc. All fine.
Except that I can't find how to control the size of that button.
LoadBitmapSample in B4A would allow me to control the size of the image.
How can I control the size of the button except for resizing the used image itself ?