Javier Alonso Member Licensed User Longtime User Mar 7, 2018 #1 Hi, How can I set the width of individual tab headers in DSTabLayout? I would like to have 3 tabs covering the whole screen width, as in Whatsapp. Thanks.
Hi, How can I set the width of individual tab headers in DSTabLayout? I would like to have 3 tabs covering the whole screen width, as in Whatsapp. Thanks.
Erel B4X founder Staff member Licensed User Longtime User Mar 8, 2018 #2 Why aren't you using TabStripViewPager? Upvote 0
Javier Alonso Member Licensed User Longtime User Mar 8, 2018 #3 Ok, changed, but again the header of each tab is as wide as the text it contains, while I would like tem to have the same width. Adding spaces to the text helps, but it is not possible to force the tab headers to cover the full width of the screen. Upvote 0
Ok, changed, but again the header of each tab is as wide as the text it contains, while I would like tem to have the same width. Adding spaces to the text helps, but it is not possible to force the tab headers to cover the full width of the screen.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2018 #4 https://www.b4x.com/android/forum/t...ate-the-tabs-in-the-center.85959/#post-544480 Upvote 0
Alexander Stolte Expert Licensed User Longtime User Mar 9, 2018 #5 Or you use my class, with this you have more options with the TabStripViewPager. Upvote 0