Android Question Xmlayout Builder makeing own icons

ocalle

Active Member
Licensed User
Longtime User
Recently i mixed the example of Corwin about apptoolbar with Erel´s simple left action bar, both are amazing, I have seen that you can load icons instead of images in the bar, they are faster and they look better, is there a tool to make them?

B4X:
    Dim xml As XmlLayoutBuilder
    Dim bd As BitmapDrawable
    bd = xml.GetDrawable("ic_plus_one_black_24dp")
    Activity.AddMenuItem3("Plus one", "Menu", bd.Bitmap, True)
   
    bd = xml.GetDrawable("ic_refresh_black_24dp")
    Activity.AddMenuItem3("Refresh", "Menu", bd.Bitmap, True)

im using
https://romannurik.github.io/Androi...dShape=hrect&effects=elevate&name=ic_launcher


Thanks in advance
 

ocalle

Active Member
Licensed User
Longtime User
Thanks that was the doubt that i have. !:) my interest was in portability for old smart phones screens
 
Last edited:
Upvote 0
Top