Android Question How to put an ImageView or a Label on a Button?

JOTHA

Well-Known Member
Licensed User
Longtime User
In earlier versions it was possible to put an ImageView or a Label on a Button.
The way it looks now, it doesn't work anymore, right?
 
D

Deleted member 103

Guest
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
If you don't want to use a lot of image files.

This is an alternative solution for your B4i, B4a and B4J projects (see sample).


English:

https://translate.google.com/transl...custom-fonts-icons-slidermenu.115576/#content


Soon I will translate into English.

I use this solution in all B4X projects.

To change color, size, etc.

Regards,
 
Last edited:
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
Note:
You can add animation to the icon font, like this example:


I am going to add icon font animation in the new English tutorial.

regards,
 
Upvote 0
Top