Correct usage of a Spinner, following material design guidelines

前端 未结 2 1573
春和景丽
春和景丽 2020-12-14 06:29

After reading the new design guidelines of Google\'s material design, I didn\'t found any clear solution for designing/displaying a spinner (http://developer.android.com/des

相关标签:
2条回答
  • 2020-12-14 07:11

    I wrote an article here:

    There is No Material Design Spinner for Android

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

    0 讨论(0)
  • 2020-12-14 07:21

    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.

    0 讨论(0)
提交回复
热议问题