Android Question TabHost Background

Douglas Farias

Expert
Licensed User
Longtime User
Hi all
how can i change the tabhost background *-* ?

i m trying this

Code: Copy
    Dim bmp1 As Bitmap
    Dim bmp As BitmapDrawable
    bmp1.Initialize(File.DirAssets, "bg_login_background.png")
    bmp.Initialize(bmp1)
    TabHost1.Background(bmp)

but dont work

Code: Copy
TabHost1.Background(bmp1)

dont work too =(

when i try debug give me error array expected on
Code: Copy
TabHost1.Background(bmp)

how to load a background *-*
 
I'm not sure if that is possible, you can change the background color but then it all looks kind of strange.

why not just add the background in each panel as imageview?
 
Upvote 0
Back
Top