i am implementing view pager and i want to put dot(.)
in the bottom instead of swipe tab. how can i do that.Thanks for help
Jake Wharton provides a lot of examples. Have you check it?
And you can take a preview installing this APK.
Stinepike's answer is more appropriate for tabs.
But I think what you are trying to achieve can be done by ViewPager and Its more appropriate way considering you don't want to display the names of tabs like "tab1", "tab2" etc... but only the indicators (dots, .) In that case use viewpagerindicator with ViewPager
.
Using tabs names and indicator will be an overhead and not a proper design for an Android application.
Its an open source library
Follow the instructions from this page
https://github.com/JakeWharton/Android-ViewPagerIndicator/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With