material-components / material-components/material-components-android
[Floating ToolBar] Support scrolling
@imhappi ci sta già lavorando.
Dal 11/12/2024.
- Lingua principale
- Java
- Stelle
- 17.4k
- Fork
- 3.2k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Description: Items in the Floating Toolbar are getting cut off when the screen cannot accommodate the entire Toolbar.
Expected Behavior:
The Floating Toolbar should automatically enable scrolling in both horizontal directions to ensure all icons are accessible. This scrolling capability should be integrated into the Floating Toolbar, and it should include fading effects on both ends to indicate more content is available. Manually adding a horizontal scroll (Hscroll) view does not work properly because scrolling conflicts with the centered aspect that the ToolBar has both vertically and horizontally, thus making it not possible to scroll through all of them. It would also be much easier to have the functionality built into the component.
Steps to Reproduce:
- Implement a Floating Toolbar with several items.
- Display the Floating Toolbar on a device with a screen size that cannot fully accommodate the toolbar's width.
- Observe that items get cut off instead of being scrollable or otherwise accessible.
Android API Version: 35
Material Library Version: 1.13.0-alpha08
Device: Samsung Galaxy S23
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.