Correct usage of a Spinner, following material design guidelines

64,398

Solution 1

A spinner will be automatically themed correctly for the Material Guidelines when your App Theme inherits from Material.Theme (or Appcompat). You can then declare and populate your spinner like described here: http://developer.android.com/guide/topics/ui/controls/spinner.html

In Android Studio you can find the Spinner in the section "Widgets" at the bottom.

Solution 2

I wrote an article here:

There is No Material Design Spinner for Android

covering usage, styling, data-binding, etc. of the material design "spinner".

Share:
64,398
ZsoZso
Author by

ZsoZso

Updated on April 22, 2021

Comments