What is this dropdown button? It looks like a spinner and the animation can be found here.
I tried using spinner but it's not the same. This one looks awesome! Can anybody help me find it? I need to create something similar.
Touching the spinner displays a dropdown menu with all other available values, from which the user can select a new one. To populate the spinner with a list of choices, you then need to specify a SpinnerAdapter in your Activity or Fragment source code.
Android Spinner is just a drop down list similar to what's seen in other programming languages such as in HTML pages. In Android, Spinner is used to select one value from a set of values. In the default state, a spinner shows its currently selected value.
A drop-down menu is a clean method of showing a large list of choices since only one choice is displayed initially until the user activates the drop-down box.
If the Spinner on Android Developer website does not fit your needs, maybe you could try
With the following code on rey5137/material - Spinner, you could create the spinner with ripple effect.
<com.rey.material.widget.Spinner
style="@style/Material.Widget.Spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:rd_style="@style/Material.Drawable.Ripple.Wave"/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With