V vercettyDev Active Member Licensed User Longtime User Jan 18, 2018 #1 Hello, I'm using a lib to put button icon. But I can not remove the border in desing I can create a button without border, or with the same color. But using lib I can not. lib: https://www.b4x.com/android/forum/threads/iconbutton-add-a-icon-or-an-picture-to-a-button.50825/ print: http://prntscr.com/i1ztk2
Hello, I'm using a lib to put button icon. But I can not remove the border in desing I can create a button without border, or with the same color. But using lib I can not. lib: https://www.b4x.com/android/forum/threads/iconbutton-add-a-icon-or-an-picture-to-a-button.50825/ print: http://prntscr.com/i1ztk2
Peter Simpson Expert Licensed User Longtime User Jan 18, 2018 #2 If that's all you are after, then just do the following, no libraries necessary. Go into the designer. Add a label. Select typeface Material Icons. Find an icon to suit (like Android in your example). Click on the icon to copy it to the clipboard. Paste the icon in the designer where it say 'Material Icon'. Create a click even in your activity for the label. There you have it, a borderless label that acts like a button and looks exactly like what you are after. Enjoy... Last edited: Jan 18, 2018 Upvote 0
If that's all you are after, then just do the following, no libraries necessary. Go into the designer. Add a label. Select typeface Material Icons. Find an icon to suit (like Android in your example). Click on the icon to copy it to the clipboard. Paste the icon in the designer where it say 'Material Icon'. Create a click even in your activity for the label. There you have it, a borderless label that acts like a button and looks exactly like what you are after. Enjoy...