mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 20:12:52 +08:00
This is still a WIP but breaking this down into smaller pieces for review purposes. There are a number of items still outstanding due to technical complexity that need to be addressed. I have included TODOs for each of these. These will need to be completed before moving this component into the main catalog. The main items: Finalise the base values from the red lines Change the GradientDrawable for thumb and track to something that can have elevation Fix the padding issue with the track - remove the workaround onDraw due to concerns over the solution being 'hacky' TrackTintMode & ThumbTintMode needs adding Ripple radius is smaller due to drawable which I will address once we have resolved the drawable solution Video of toggle in current state: https://drive.google.com/open?id=1pWFGuud3k3Wpay0CUKXZu8gbbxuCtG8d PiperOrigin-RevId: 179551097