Carousel: pack items at center if there are less than necessary items to fill full screen width
Open
- Dominant language
- Java
- Stars
- 8.6k
- Forks
- 734
- PR merge metrics
- No merged PRs in 30d
Description
I have a carousel which contains very few items with small width. I want to have them packed at the center of the screen instead of piling up at the left of the screen.
*Current:*
```
| |
```
*Desired:*
```
| |
```
Any idea how to accomplish this?
Contributor guide
Research direction
Start by locating Epoxy's carousel implementation and its RecyclerView layout behavior. Reproduce the issue with three small items, then determine how the carousel should position fewer-than-full-width items and verify that they are centered without changing the desired behavior for full carousels.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100