Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Slider] option to show/hide tick marks in discrete mode #1545

Conversation

gabrielemariotti
Copy link
Contributor

According to the material design doc

Schermata 2020-07-31 alle 00 30 59

the tick marks could be optional in a discrete mode.

This PR added a new option tickVisible to show/hide the tick marks in discrete mode.
The default value is true.

 <com.google.android.material.slider.Slider
    app:tickVisible="false"
     .../>

Schermata 2020-07-31 alle 00 30 31

@dsn5ft
Copy link
Contributor

dsn5ft commented Jul 31, 2020

Thanks @gabrielemariotti! Will make a couple minor (mostly formatting) changes internally and get this synced in/out.

@vkotovv
Copy link

vkotovv commented Oct 15, 2020

@dsn5ft Is it available in 1.2.1 ?

@gabrielemariotti
Copy link
Contributor Author

@vkotovv It is available with 1.3.0-alpha03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants