Android Question TabstripViewPager Properties by code

Mike1970

Well-Known Member
Licensed User
Hi everyone, i would like to use the TabstripViewPager and i need to change classic properties by code, like "visible", "height", "width", "setAnimatedLayout" etc.. but if i write

B4X:
TabstripViewPager.

nothing shows up after the dots excepts for: CurrentPage, DesignerCreateView, LoadLayout and ScrollTo

How can I change the "designer properites" by code?

Thank everyone who will help me
 
Last edited:

Mike1970

Well-Known Member
Licensed User
If you want to change its size when it is created then create a panel and load the layout with the TabStrip, anchored to all sides, to this panel.
Ohu ok, I understand, i will try.
Because I need to shrink the views or expand it sometimes to show other contents, so when it shrinks I re-arrange all the views as I like, changing position and dimensions
 
Upvote 0

Mike1970

Well-Known Member
Licensed User
What exactly are you trying to do? Do you want to change the size of TabStrip after it is created? It will not work.

If you want to change its size when it is created then create a panel and load the layout with the TabStrip, anchored to all sides, to this panel.
Nope.. tabstripviewpager isnt' good for what i've to do.
It's editable only via Designer.. isn't possibile add it with an "AddView" right?
 
Upvote 0
Top