B4A Library [B4X] [XUI] Page Indicator

Discussion in 'Additional libraries, classes and official updates' started by Erel, May 12, 2019.

  1. Erel

    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:
    Sub TabStrip1_PageSelected (Position As Int)
       B4XPageIndicator1.CurrentPage = Position
    End Sub
    The class is included in the attached example.

    Attached Files:

    fredo, AnandGupta, Levit and 18 others like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice