Changing TabHost color

Discussion in 'Android Questions' started by NJDude, Apr 23, 2011.

  1. NJDude

    NJDude Expert Licensed User

    Is it possible to change the background color of a TabHost?, I see it always defaults to greyish.
  2. susu

    susu Well-Known Member Licensed User

    It's not possible for now.
  3. NJDude

    NJDude Expert Licensed User

    Ok, thank you.
  4. ZJP

    ZJP Active Member Licensed User

  5. gapi

    gapi Member Licensed User

    It's possible without Java code ? Any settings for change color of tabhost ? My is orange ... :( how can change it ?

  6. Mahares

    Mahares Well Known Member Licensed User

    If you install the TabhostExtras library in the additional libraries path and reference it, you can change the color of the tabhost indicator. Make sure you search in the forum for TabhostExtras to find the zip file that has the libray (jar and xml files). Here is a sample. You can use any RGB color combination you want:

    Dim TabHost1 As TabHost
    Dim MyTabHostExtra As TabHostExtras
    Last edited: Jun 2, 2012
  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