B4A Class Round Button

tremara1

Active Member
Licensed User
First of all I am sorry this is a classic example of taking something simple and making it complex. I am trying to learn a bit more about classes so I wrote this little class for my own use. I am putting it up for others trying to learn. It is added in designer as a customView like a regular button. It has a ripple effect. There are a few things you can change in code like text, text size, text color, back color.....you might not use them but they work. I have used some code I got from the forum thanks to the contributors. It is a flat design similar to Material design. I just had a bit of fun.....enjoy.
 

Attachments

somed3v3loper

Well-Known Member
Licensed User
The follwing sub does not work
B4X:
Sub rippleColor(rc As Int)
rv.Ripple(True, rc, 150, True, 1)
End Sub
RippleViews do not have Ripple member
 

tremara1

Active Member
Licensed User
You are correct I should have specified the correct version....also a good chance to thank Erel and Informatix for the work.
 
Last edited:
Top