B4A Class Round Button

Discussion in 'Additional libraries, classes and official updates' started by tremara1, Nov 28, 2014.

  1. tremara1

    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.

    Attached Files:

    iz0ndg and somed3v3loper like this.
  2. somed3v3loper

    somed3v3loper Well-Known Member Licensed User

    The follwing sub does not work
    Sub rippleColor(rc As Int)
    True, rc, 150True1)
    End Sub
    RippleViews do not have Ripple member
  3. tremara1

    tremara1 Active Member Licensed User

    I was able to call this member with no error as per the attached pic.

    Attached Files:

  4. iz0ndg

    iz0ndg Member Licensed User

    somed3v3loper likes this.
  5. tremara1

    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: Nov 30, 2014
    iz0ndg likes this.
  1. 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.
    Dismiss Notice