我希望遵循 Material Design 指南来获得这样的微调器:
当点击它时,它应该像这样弹出一个 DatePickerDialog:
And finally when date chosen, get the chosen date inside the spinner like this:
我需要有关如何在 xml 中声明此类微调器的帮助?
最佳答案
将 style="@style/Widget.AppCompat.Spinner"
(或类似的)添加到“日期” TextView 。
关于android - Material 设计日期选择器 : How to popup datepicker when click on a Spinner,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36122478/