Nov 28, 2014 Replies: 4 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 rndButton.zip rndButton.zip 8.6 KB · Views: 649 Click to expand...
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.
somed3v3loper Well-Known Member Licensed User Longtime User Nov 29, 2014 #2 The follwing sub does not work Code: Sub rippleColor(rc As Int) rv.Ripple(True, rc, 150, True, 1) End Sub RippleViews do not have Ripple member
The follwing sub does not work Code: 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 Longtime User Nov 29, 2014 #3 I was able to call this member with no error as per the attached pic. Attachments Ashampoo_Snap_2014.11.30_07h37m09s_001_.png 19.8 KB · Views: 793
iz0ndg Active Member Licensed User Longtime User Nov 29, 2014 #4 You must, however, specify that you used the Informatix version (v1.30) https://www.b4x.com/android/forum/threads/ripple-effect-library.45918/#post-283610
You must, however, specify that you used the Informatix version (v1.30) https://www.b4x.com/android/forum/threads/ripple-effect-library.45918/#post-283610
tremara1 Active Member Licensed User Longtime User Nov 29, 2014 #5 You are correct I should have specified the correct version....also a good chance to thank Erel and Informatix for the work. Last edited: Nov 30, 2014
You are correct I should have specified the correct version....also a good chance to thank Erel and Informatix for the work.