rossati Active Member Licensed User Longtime User Sep 30, 2017 #1 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 Sep 30, 2017 #2 ? 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
? 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?
rossati Active Member Licensed User Longtime User Sep 30, 2017 #3 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
I need to center some buttons and I would know the border dimension, alternatively, it should also acceptable to force the board to 0.
eps Expert Licensed User Longtime User Sep 30, 2017 #4 Don't you just need the width of the tabhost itself? e.g. Code: Copy 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: Sep 30, 2017 Upvote 0
Don't you just need the width of the tabhost itself? e.g. Code: Copy 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.
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2017 #5 I recommend you to use TabStripViewPager instead of TabHost. It looks and works better. Upvote 0
rossati Active Member Licensed User Longtime User Oct 1, 2017 #6 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
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?
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2017 #7 rossati said: Can I use TabStripViewPager on B4A version 7.01? Click to expand... Yes. rossati said: Also TabStripViewPager has a border, is it manageable? Click to expand... TabStripViewPager behaves like a regular view. You can add a border to it and you can also put it in a panel with border. Upvote 0
rossati said: Can I use TabStripViewPager on B4A version 7.01? Click to expand... Yes. rossati said: Also TabStripViewPager has a border, is it manageable? Click to expand... TabStripViewPager behaves like a regular view. You can add a border to it and you can also put it in a panel with border.