Android Question Bold in Button with code

Discussion in 'Android Questions' started by Almog, Feb 24, 2018.

  1. Almog

    Almog Active Member Licensed User

    Hi,

    someine knows how can I bold/unbold the text in a button in the code?

    i tried button1.text.style but it didnt work..

    thanks.
     
  2. DonManfred

    DonManfred Expert Licensed User

    You can use CSBuilder to change the Text like you wish.
     
    Peter Simpson and asales like this.
  3. asales

    asales Well-Known Member Licensed User

    Code:
    Button1.Typeface = Typeface.DEFAULT_BOLD
    or you can use CSBuilder, that has more options, like DonManfred says.
     
    Peter Simpson likes this.
  4. Almog

    Almog Active Member Licensed User

    thanks.
     
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