B4A Library [B4X] [XUI] Page Indicator

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:
Sub TabStrip1_PageSelected (Position As Int)
   B4XPageIndicator1.CurrentPage = Position
End Sub

The class is included in the attached example.


  • B4XPageIndicator.zip
    13.4 KB · Views: 720