User interface

This documentation was generated with the assistance of AI. Please report any inaccuracies.

The library’s only user-facing element is the RecyclerTabLayout component. The repository’s app/ module is a sample application with a single screen, MainActivity.

Screens

Screen Purpose Entry point

MainActivity (sample app)

Single screen of the sample app; currently shows a placeholder layout (activity_main.xml).

Launcher activity of the app module.

Components

Component Purpose Used by

RecyclerTabLayout

Tab layout implemented with a recycler view: shows a TabLayout-like animated indicator while tab views are recycled, so it scales to a large number of tabs.

RecyclerTabLayoutActivity (instrumented tests).

Animated demo of RecyclerTabLayout scrolling through tabs and moving the selection indicator
Figure 1. RecyclerTabLayout scrolling through tabs with the animated selection indicator

Accessibility

The repository’s .ui-quality.yml sets accessibility: enforce: automated accessibility checks run with the UI tests and violations fail them. Screenshots are captured in left-to-right and right-to-left directions and in light and dark themes.

Navigation between screens is described in Navigation flows.