{"repo":"tommybuonomo/dotsindicator","free":true,"listed":false,"github":"https://github.com/tommybuonomo/dotsindicator","clone":"git clone https://github.com/tommybuonomo/dotsindicator.git","description":"Dots indicators for Android ViewPager and Compose","language":"Kotlin","stars":3605,"topics":["dots","indicator","android","android-library","dots-indicator","viewpager","viewpager-indicator","material-design","kotlin","kotlin-android"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Pager Dots Indicator Dots Indicator is an Android library for Jetpack Compose and classic XML views 🚀 Compose support is built into the same artifact and exposes four indicator types: Shift , Spring , Worm , and Balloon . Don't forget to star the project if you like it! == Feel free to submit issues and enhancement requests! Installation Add Maven Central and the library dependency: Jetpack Compose DotsIndicator works directly with androidx.compose.foundation.pager.PagerState . ShiftIndicatorType SpringIndicatorType WormIndicatorType BalloonIndicatorType XML views Classic Android views are still supported for ViewPager and ViewPager2 with attachTo(...) . DotsIndicator XML layout Custom attributes Attribute Description --- --- dotsColor Color of the dots selectedDotColor Color of the selected dot (defaults to dotsColor ) progressMode Colors every previous dot with the selected dot color dotsSize Size of the dots (default: 16dp) dotsSpacing Space between dots (default: 8dp) dotsWidthFactor Width multiplier for the selected dot (default: 2.5) dotsCornerRadius Dot corner radius (defaults to half of dotsSize ) dotsElevation Elevation applied to the dots dotsClickable Enables changing page when a dot is tapped (default: true) Kotlin SpringDotsIndicator XML layout Custom attributes Attribute Description --- --- dotsColor Color of the moving indicator dot dotsStrokeColor Color of the stroke dots (defaults to the indicator color) dotsSize Size of the dots (default: 16dp) dotsSpacing ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tommybuonomo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tommybuonomo/dotsindicator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}