hello, I have a problem with tabhost . Here is the code :
Dim bmp1, bmp2 As Bitmap
bmp1 = LoadBitmap(File.DirAssets, "ic.png")
bmp2 = LoadBitmap(File.DirAssets, "ic_selected.png")
TabHost1.AddTabWithIcon ("east", bmp1, bmp2, "panel_east") 'load the layout file of each page
TabHost1.AddTabWithIcon ("west", bmp1, bmp2, "panel_west") 'load the layout file of each page
TabHost1.AddTabWithIcon ("middle", bmp1, bmp2, "panel_staff") 'load the layout file of each page
But the ic.png do not display ,why ? Can you help me ?
Thanks a lot !
Dim bmp1, bmp2 As Bitmap
bmp1 = LoadBitmap(File.DirAssets, "ic.png")
bmp2 = LoadBitmap(File.DirAssets, "ic_selected.png")
TabHost1.AddTabWithIcon ("east", bmp1, bmp2, "panel_east") 'load the layout file of each page
TabHost1.AddTabWithIcon ("west", bmp1, bmp2, "panel_west") 'load the layout file of each page
TabHost1.AddTabWithIcon ("middle", bmp1, bmp2, "panel_staff") 'load the layout file of each page
But the ic.png do not display ,why ? Can you help me ?
Thanks a lot !