Problem with Tabhost

badal405

Member
Licensed User
Longtime User
Dear Erel,
I am facing a problem with TabHost. I have two activity module.
1. Main
2. Activity2
I have added the tabhost to Activity2. But when i run the app i found that the text of each tab button appearing half. The text is not clear.
I have added the snapshot.
Please see the attachment.
Waiting for your reply.
Thanks and regards.
Shaukat
 

Attachments

  • untitled.JPG
    untitled.JPG
    8.8 KB · Views: 204

mangojack

Expert
Licensed User
Longtime User
badal405 .. this might help .. TabHostExtras

B4X:
Dim TabHost1 As TabHost
Dim TabManager As TabHostExtras
   
'setup main tabs
TabHost1.AddTab ("Tab 1", "page1") 'load the layout file of each page
TabHost1.AddTab("Tab 2", "page2") 
TabHost1.AddTab("Tab 3", "page3")      
         
'format tabs ... 
TabManager.setTabTextSize(TabHost1, 22)
TabManager.setTabHeight(TabHost1,50)

Cheers mj
 
Last edited:
Upvote 0
Top