如何实现材料设计微调器

时间:2015-10-07 19:13:25

标签: android android-studio material-design android-spinner

正如Google开发人员所说,材料设计微调器应该是这样的 enter image description here

但是在我的AppCompat主题中,当我拖放一个微调器时,它就像这样 enter image description here

角落没有底部边框或小三角形。我如何实现Google开发者网站所显示的那个?

1 个答案:

答案 0 :(得分:3)

根据material design spec上的图像,例如this one,AppCompat中的微调器匹配材质设计主题。

您从开发者网站图片中显示的图片来自Holo主题。例如,在spinner widget documentation上,您可以看到微调控件是全息主题,因为同一图像中的EditText控件的边有边。

相关问题