Android Question How to use new material Icons width code

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi All

I want to use the new material icons for use in various objects, like LoadBitmap, It's possibile? how to?

thanks
 
Upvote 0
1. Create an invisible label named lblMaterial with the designer and set its Typeface to Material Icons.
2. Use this label to set the typeface of other views:
Code: Copy
MyButton.Typeface = lblMaterial.Typeface

You can use the code editor icon picker to add icons in your code.
I tried to copy the ttf to files tab and than set the typeface to b4x_material.ttf ( not sure of the name ) and it worked
Hi Manfred
i would like to use, via code, the new icons shown in this thread: https://www.b4x.com/android/forum/threads/b4a-change-log-versions-history.19332/#content

thanks

. You can avoid using the designer if you like
 
Upvote 0
Back
Top