B4A Library [B4X] [XUI] Page Indicator

Erel

Administrator
Staff member
Licensed User
B4XPageIndicator is a simple and cross platform custom view that looks like this:



It indicates the current page. A page can mean many things, it is not limited to TabStripViewPager.

How to use:
- Add it with the designer. You probably want to set the Base Background to be transparent (Alpha = 0 in B4A).
- Set the current page with:
B4X:
Sub TabStrip1_PageSelected (Position As Int)
   B4XPageIndicator1.CurrentPage = Position
End Sub
The class is included in the attached example.
 

Attachments

Top