Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android dropdown button

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.

like image 828
Shifatul Avatar asked Jun 21 '15 06:06

Shifatul


People also ask

What is the Android equivalent of a dropdown menu?

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.

What is drop down in Android?

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.

What is drop down menu in phone?

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.


1 Answers

If the Spinner on Android Developer website does not fit your needs, maybe you could try

  1. rey5137/material - Spinner
  2. ganfra/MaterialSpinner

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"/>
like image 57
Andro Chen Avatar answered Dec 14 '22 23:12

Andro Chen