Bug? Android 5.1 and B4A MsgBox2 issue.

NJDude

Expert
Licensed User
It seems the new upgrade breaks B4A MsgBox2, the icon doesn't show up, it did just fine on 5.0.2.

I've just got the upgrade on my Nexus 7 and after testing it I spotted that issue.

EDIT TO ADD: It seems that the icon MUST be 32x32 (unless B4A is not resizing it).
 
Last edited:

NJDude

Expert
Licensed User
Well, that's interesting, Android Msgboxes can use "larger" (resized) icons, but with B4A it seems it must be 32x32 or they won't show up.
 

NJDude

Expert
Licensed User
Just using the device's default material theme.

Even if I add this line to the manifest: SetApplicationAttribute(android:theme, "@android:style/Theme.Holo"), still no icon.
 
Last edited:

DavideV

Active Member
Licensed User
Hi, i've just upgraded my device to android (cyanogen) 5.1.1 and i get the same 'no icon' problem. It worked with android (cyanogen) 5.0.
I'm using B4A V4.30, tested the 32x32 icon size too...
Tried also to compile with API platform V22, same problem.

Bye
 

Paul Leischow

Member
Licensed User
Will MsgBox2 be fixed any time soon?

Just tried it on Android 5 compiled with B4A 5.0.2 and icon is still missing.
Android 4.4.2 shows the icons perfectly.
 

Paul Leischow

Member
Licensed User
Android 5.0 (5.1 is not yet available in Canada for my device)
I noticed that 5.0 in the emulator gives same results of icon missing and 5.1 in the emulator is fine.
Guess there is no work around for 5.0 ?
 
Top