Initialize (TabMenu Ascom.as.tabstrip.astabmenu, ViewPager Ascom.as.tabstrip.asviewpager) AsString Initializes the object. You can add parameters to this method if needed.
IsInitializedAsBoolean Tests whether the object has been initialized.
Dim xpnl As B4XView = xui.CreatePanel("")
xpnl.SetLayoutAnimated(0,0,0,Root.Width,Root.Height)
xpnl.LoadLayout("YourLayout")
ASTabStrip1.AddPage(xui.Color_Black,"Test",Null,"",xpnl,"")
Dim xpnl As B4XView = xui.CreatePanel("")
xpnl.SetLayoutAnimated(0,0,0,Root.Width,Root.Height)
xpnl.LoadLayout("YourLayout")
ASTabStrip1.AddPage(xui.Color_Black,"Test",Null,"",xpnl,"")
well the bilbiothek is so simple, it only switches the index in the TabMenu when you change the page in the ViewPager and vice versa. Best to open the .B4XLib and look inside, there is hardly any code.
No.
What's so bad about the designer? You guys are making way too much work for yourselves...
There are absolutely no advantages to adding views by code, in fact quite the opposite, there is only downside by doing so.
No.
What's so bad about the designer? You guys are making way too much work for yourselves...
There are absolutely no advantages to adding views by code, in fact quite the opposite, there is only downside by doing so.