Android Question Label border width

Discussion in 'Android Questions' started by CurtisC, May 6, 2015.

  1. CurtisC

    CurtisC Member Licensed User

    Can border width be changed during run time?
     
  2. Cableguy

    Cableguy Expert Licensed User

    yes it can

    Dim LabelBorder as colordrawable
    labelborder.initialize2(colors.blue,5dip,2dip,colors.red)
    Label.background = Labelborder

    (Example code, you need to adjust it to your needs)
     
    RandomCoder and Peter Simpson like this.
  3. CurtisC

    CurtisC Member Licensed User

    Thank you Cableguy exactly what I needed.
     
  4. Cableguy

    Cableguy Expert Licensed User

    Thank YOU Curtis!
     
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