Is there a way to make a TextView use the Spinner style?

自古美人都是妖i 提交于 2019-12-20 04:28:15

问题


I want to have a TextView look like a Spinner. When you click, a dialog with the choices for the TextView appear. No, I don't want to use a Spinner. I want to use a TextView.


回答1:


try this

style="?android:attr/spinnerStyle"


来源:https://stackoverflow.com/questions/27596611/is-there-a-way-to-make-a-textview-use-the-spinner-style

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!