# ogaclejapan/SmartTabLayout

A custom ViewPager title strip which gives continuous feedback to the user when scrolling

Repository: https://github.com/ogaclejapan/SmartTabLayout
Canonical: https://ross.abutalabs.com/products/smarttablayout
Language: Java
License: Apache-2.0
License Family: permissive
Topics: smarttablayout, android, viewpager
Archived: true
Last push: 2020-06-03T06:02:33+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4218, "days_push": 2282, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7062, forks 1323 (observed 2026-08-28T04:09:55.634604+00:00)

## What it is
An Android library providing a custom ViewPager title strip with a scroll-synced indicator that gives continuous visual feedback while swiping. It extends Google's SlidingTabBasic sample with many customizable indicator, divider, and text styling options.

## Use cases
- add swipeable tabs to an Android ViewPager
- show a moving tab indicator while the user scrolls pages
- customize tab strip colors, indicator width, and dividers
- replace PagerTabStrip with a more flexible tab layout
- build a Material-style tab header for a paged Android app

## When to choose
- you use the classic ViewPager and want a highly customizable tab strip
- you need continuous indicator feedback during page swipes
- you want a drop-in widget configurable via XML attributes

## When to avoid
- you are building with Jetpack Compose
- you use ViewPager2, which needs a different tab solution like TabLayout
- you need a library under active development

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: viewpager, tab-layout, android-ui, indicator, android, mobile

## Member repositories
- ogaclejapan/SmartTabLayout (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:55.634604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:29.125456+00:00, confidence not recorded.
  - readme: https://github.com/ogaclejapan/SmartTabLayout (fetched 2026-08-28T04:09:55.634604+00:00, sha e0d230cc53e8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
