material-components / material-components/material-components-android
[TabLayout] Do not move selected tab in centre in scrollable mode
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
I am trying to achieve the scrollable tab behaviour mentioned in Tabs documentation ([Interactive demo](https://material.io/components/tabs#interactive-demo)). Specifically, not moving the selected tab in centre and keeping it at the end of the screen. By default `TabLayout` moves selected tab to the centre.
I am not sure if this is possible with `TabLayout` as of now. Any help would be appreciated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Tabs documentation and its interactive demo to compare the requested scrollable behavior with TabLayout's current behavior. No source file, test, or concrete implementation target is named, so the expected end-position behavior and affected entry point need clarification before work can be considered done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100