Android Question Set CheckBox color ?

Discussion in 'Android Questions' started by MitchBu, May 7, 2019.

  1. MitchBu

    MitchBu Active Member Licensed User

    I want to put a checkbox on a beige panel, but it remains white and very difficult to see.

    If I could set the checkbox color the same way as the generate members dialog in the designer, it would be just fine.

    I found this thread which refers to a SetCheckBoxColor sub, but the author neglected to post it or make reference to where it can be found.
    https://www.b4x.com/android/forum/threads/83740/#content

    I will appreciate any help.

    TIA
     
    Last edited: May 7, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. MitchBu

    MitchBu Active Member Licensed User

    Thank you Erel, but SetBackgroundTintList seems to be doing nothing on my checkbox with this:
    Code:
    SetBackgroundTintList(CkBxSettingsWallet, Colors.Red, 0xFF0020FF)
     
  4. Erel

    Erel Administrator Staff Member Licensed User

  5. MitchBu

    MitchBu Active Member Licensed User

    It works great. Thank you Erel :)
     
Loading...
  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