Hi There,
I am trying to add an image to a button via code and achieve the look as in this post: https://www.b4x.com/android/forum/threads/how-to-add-image-to-button-with-text.117775/
1. keep Round corners
2. Keep the elevation
3. Set background color (if Possible only)
I have seen the replies...
I have changed my labels to b4xview for compatibility with b4j and b4i,
some of the code used label.background = colordrawable.
However b4xview has only color attribute (which only changes background color).
I need colordrawable since it also makes the label have rounded corners.
How can I...
As stated in this post I need to make an image slider with rounded corners. That catch is that there are some rotated and shaded labels over the images and these should have round corners as well. On this sceendump the label corners are not rounded because only the images themselves are rounded...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.