B4i Library TabStrip - Erel    
Nov 26, 2020   
(14 reactions)iTabStrip library implements a controller similar to B4A TabStripViewPager.
It is based on XLPagerTabStrip: https://github.com/xmartlabs/XLPagerTabStrip (MIT license).
56317
Setup instructions:
1. Add TabStrip with the designer.
2. Create the tab pages layouts. Make sure to use anchors to allow the layouts to fill the available space.
3. Set the pages by calling TabStrip.SetPages.
4. You need to put the ButtonCell.xip file under Files\Special. You can find the file in the example project...
B4A Library [B4X] [XUI] AS ViewPagerNative based on AHViewPager and iTabstrip - Alexander Stolte    
Oct 29, 2021   
(9 reactions) this will change in the future.
B4a: XUi,AHViewPager
B4i: iXUI,iTabStrip
B4A: Make sure you have the AHViewPager... and iTabstrip are very different, the view helps to create a unified interface.
I spend a lot...
link:
For example, I now have 10 pages that I added with the help of the initial examples with the help o...
link: For example, I now have 10 pages that I added with the help of the initial examples with the help of...
link:
but after the 'resize' event the background becomes black?
In b4i there is a resize event....
B4A Question Tabstrip: Can You Skip or Hide Tabs When Tabstrip Label is Disabled - Mahares    
Jan 29, 2017   
tags: TabsI like to delete some tabs and reinstate them when the app calls for it, but since you cannot delete tabs, or hide them, I can disable a tabstrip label. When I swipe a finger to position to a different tab, is there away to skip the disabled label and its page via Reflection or Javaobject and jump to the next enabled page without stopping at the disabled one.
Thank you....
B4A Question Tabstrip + Scrollview + Keyboard = Height? - JohnC    
Dec 13, 2017   
tags: TabsI am using a Tabstrip and a few of the tab's pages have edittext controls on them.
So, I am forced to use a scrollview on each tabstrip page that has a edittext on it to make sure... time figuring out how to set the sv.height to the proper height of the visible part of the current tab page.
I would like the tab titles to remain visible, so I need to figure out the height of the visible space between the bottom of the tab titles row and the top of the keyboard.
Any ideas?...
B4i Question [Solved] Clicking on the TabStrip header to jump to Page - aeric    
May 2, 2025Is it possible to click on the TabStrip header to go to the desired page?...
link: - A = 1), it only logs 1 time.
Sub TabStrip1_PageSelected (Position As Int)
Log("Current page...
link: Thanks again Erel. It works....
link: Thanks Erel. I will check on it later....
B4A Code Snippet simple way to hide/show a TabStrip tab - toby    
Jul 12, 2022   
(1 reaction)
Public Sub toggleTab(TabStrip1 As TabStrip, tabName As String) As Boolean
For Each lbl As Label In GetAllTabLabels(TabStrip1)
If lbl.Text=tabName Then
lbl.Visible= lbl.Visible...
link:
2. If you have images in the tabstrip labels, you cannot even hide the label.
My snippet handles...
link: ) As Boolean
Dim lbl As Label=GetAllTabLabels(mytabStrip1).Get(tabIndex)
Return lbl.Visible
End Sub...
link: "Toggle tab 3".
You can still scroll page3 when you toggle it to hide. Change the color...
B4A Tutorial TabStripViewPager - Better ViewPager - Erel    
Jan 24, 2018   
(53 reactions)   
tags: abStripViewPager, tab, horizontal scroll, Tabs, tabstrip B4A v5.8+.
It is very simple to add a TabStrip to your app.
Add the TabStrip with the visual...
Load the main layout and then add pages with a call to TabStrip.LoadLayout:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
TabStrip1.LoadLayout("Page1", "PAGE 1")
TabStrip1.LoadLayout("Page2", "THIS IS PAGE 2")
TabStrip1.LoadLayout("Page3", "AND PAGE 3")
End Sub
Add the following text to...
B4A Question Amir Fragment and TabStrip - asales    
Feb 21, 2019I use this library from @alimanam3386 :
https://www.b4x.com/android/forum/threads/amir_fragment.101189/
There are an example with AHViewer Page.
I tried to modify the example to use TabStrip ViewPager, but I get this error in compile:
PagerAdapter.IntoViewPager(TabStrip1,True)
javac 1.8.0_92
src\b4a\example\AFTabStrip\main.java:349: error: incompatible types: TabStripViewPager cannot...._tabstrip1),anywheresoftware.b4a.keywords.Common.True);
The signature of the method IntoViewPager...
B4A Question TabStrip indicator not showing - ilan    
Dec 13, 2016hi
1, when i set background color to the tabstrip labels (page titles) i dont see anymore the indicator.
2, can i set the tabstrip so the top page title that is focused will always be at the center?
3, i would also like to know how to set the background color of the top of the screen where the clock is shown so it has the same background color as the tabstrip labels (do i have to start a new thread for this question?)
(sample project incl.)
thanx, ilan...
B4A Question Using Single Scrollview layout with Tabstrip - JohnC    
Aug 24, 2016 the below routine so it will return a list of all the scrollviews in the tabstrip so I can then access them and load a different layout into each one:
Public Sub GetAllTabLabels (tabstrip As TabStrip...("tabStrip")
Dim tc As Panel = r.GetField("tabsContainer")
Dim res As List
res.../threads/scrollview-tabstrip.70184/#post-446361) and I see the trick you are using.
But, I would like to have more then just scrollable text displayed on each tab - I would like to have a checkbox or two...
Page: 1  
2  
3  
4  
5  
6  
7