material-components / material-components/material-components-android
[Slider] Customize Tick for Discrete Slider
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
I want the ability to customize the Tick drawable for my Slider, by sending the desired drawable asset
**Describe the solution you'd like**
Instead of drawing only the default tick, I want to set a custom drawable shape to be used
**Describe alternatives you've considered**
Currently, I didn't see any alternative to have this asset customizable.
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 by locating the Android Slider implementation and the existing code path that draws ticks. Inspect related Slider tests or documentation before defining the API; done means callers can provide a custom drawable asset and the discrete Slider renders it instead of only the default tick.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100