Android Question TabHost and panels

rossati

Active Member
Licensed User
Longtime User
Hello

What is the size of the board around the tab (panel or layout) on tabHost?
Thanks

John Rossati
 

eps

Expert
Licensed User
Longtime User
? I think you can make it expand to fill the available width and height or are you asking about something else, ie. the height remaining, once the tabs at the height are taken in to consideration?
 
Upvote 0

rossati

Active Member
Licensed User
Longtime User
I need to center some buttons and I would know the border dimension, alternatively, it should also acceptable to force the board to 0.
 
Upvote 0

eps

Expert
Licensed User
Longtime User
Don't you just need the width of the tabhost itself?

e.g.

B4X:
Activity.AddView(TabHost1,0,0,screen_width,screen_height-70dip)

?

Ah you mean the tab part of the tabhost I did some 32x32 ones but it displays text now in mine.
 
Last edited:
Upvote 0

rossati

Active Member
Licensed User
Longtime User
Thanks to all
It seems that the border dimension of tabs are incognizable.
Can I use TabStripViewPager on B4A version 7.01?
Also TabStripViewPager has a border, is it manageable?
 
Upvote 0
Top