Hi guys,
I need to change TabStripPager dimensions at runtime. I dind't find any way to do it, I suppose I must use reflection (as in GetAllTabLabels, etc.) but don't know what properties and what object to use.
PS. Is there any method in javaobjects/reflection to LIST ALL properties/methods?
Thanks in advance
SOLVED. I share my code. Please improve if necessary.
B4X:
public Sub TabStrip_SetLayout(ts As TabStrip,Left As Int,Top As Int,Width As Int,Height As Int)
Dim jo As JavaObject = ts
Dim P As Panel=jo.GetFieldJO("vp")
P=P.parent
P.SetLayout(Left,Top,Width,Height)
TabStrip_Refresh(ts)
End Sub