But I mean how to create a button with an icon and a a text like on this screenshot. They don't have to be expandable.
The app this screenshot was taken from they are created by HTML (I think because without Internet this app doesn't even get started) but can it be done with b4a buttons?
Or do I need to create an image in a Photoshop and apply it as a bitmap?
In addition to what the other members are telling you , you can also use CSBuilder. I attached a very simple example that mixes text with image.
B4X:
Sub Globals
Private Button1 As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("1")
Dim cs As CSBuilder
cs.Initialize.Size(30).Typeface(Typeface.SANS_SERIF)
cs.Append("FOOTBALL: ").Image(LoadBitmap(File.DirAssets, "brazil.png"), 60dip, 60dip, False).Append(CRLF)
cs.PopAll
Button1.Text = cs
End Sub
@Mahares his screenshot looks full width and not exactly buttons. @f0raster0 I'm not sure that he is looking for a sliding menu, that was my fist thought too but looking at his screenshot I was not sure.
The main problem is that his screenshot isn't exactly informative because it's not a full screenshot but a cut out from a screenshot.
Nevertheless he now has not one, not two but three solution to choose from