# hongyangAndroid/Android-StickyNavLayout

An android library for navigator that stick on the top

Repository: https://github.com/hongyangAndroid/Android-StickyNavLayout
Canonical: https://ross.abutalabs.com/products/android-stickynavlayout
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2018-08-27T16:23:11+00:00

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

## Adoption (not part of the score)
Stars 1413, forks 437 (observed 2026-08-28T04:04:39.523150+00:00)

## What it is
An Android layout library that implements a sticky navigation pattern, where a header area scrolls away while the tab indicator and ViewPager remain pinned at the top. It is used as a root layout with predefined IDs for the header, indicator, and ViewPager.

## Use cases
- implement a profile page with tabs that stick to the top while scrolling
- build an app detail screen with a collapsing header and sticky tab bar
- create a scrollable header with a pinned ViewPager indicator
- make tab navigation stay visible during scroll on Android
- build a news or e-commerce category page with sticky tabs

## When to choose
- you need the classic sticky-header + tabs + ViewPager pattern on Android with minimal setup
- you want a simple drop-in root layout using predefined IDs
- you are maintaining a legacy Java-based Android app

## When to avoid
- you use Jetpack Compose, where CoordinatorLayout or Compose alternatives are preferred
- you need modern AndroidX support beyond the old support library
- you need highly customized nested scrolling behavior

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, mobile-framework
- domain: android-tools, mobile-development, frontend
- platform: -
- tags: sticky-navigation, viewpager, tab-indicator, scrolling, java, android

## Member repositories
- hongyangAndroid/Android-StickyNavLayout (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:39.523150+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-30T04:38:16.524738+00:00, confidence not recorded.
  - readme: https://github.com/hongyangAndroid/Android-StickyNavLayout (fetched 2026-08-28T04:04:39.523150+00:00, sha 9bcb3937998a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
