May 12, 2019 Replies: 3 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: Code: Copy Sub TabStrip1_PageSelected (Position As Int) B4XPageIndicator1.CurrentPage = Position End Sub The class is included in the attached example. Attachments B4XPageIndicator.zip B4XPageIndicator.zip 13.4 KB · Views: 1,682 Click to expand...
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: Code: Copy Sub TabStrip1_PageSelected (Position As Int) B4XPageIndicator1.CurrentPage = Position End Sub The class is included in the attached example.
Erel B4X founder Staff member Licensed User Longtime User Oct 18, 2021 #2 Improved code, relevant for B4i: https://www.b4x.com/android/forum/threads/b4xpageindicator-have-low-quality.135181/post-855229
Improved code, relevant for B4i: https://www.b4x.com/android/forum/threads/b4xpageindicator-have-low-quality.135181/post-855229
asales Expert Licensed User Longtime User Oct 26, 2021 #4 netsistemas said: how change color of circle? Click to expand...