Correct Usage Of A Spinner, Following Material Design Guidelines


Answer :

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.



I wrote an article here:



There is No Material Design Spinner for Android



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



Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable