Android Code Snippet Create Ripple effect inside Panel

Hi All,

This code snippet base on a question here, i have never deal with Canvas/B4XCanvas before, but can't sleep thinking that i have idea how to solve the question but all reference i read should be using canvas. So here we go...

ripple.gif


I hope everyone find it useful.

Thank you
 

Attachments

  • RippleBtn.zip
    9.6 KB · Views: 390

TILogistic

Expert
Licensed User
Longtime User
my humble comment:

Better to create a custom XUI view with your code, to control the properties of the view.

such as: corner radius value, color, text, gradient, border, etc.

example:
SwiftButton

regards,
 

rraswisak

Active Member
Licensed User
Better to create a custom XUI
Please take a look here
 
Top