How to set spinnerMode in Android 2.2?

拈花ヽ惹草 提交于 2019-12-20 15:33:08

问题


Can I use android:spinnerMode xml attribute in Android 2.2?

I need to get an inline dropdown anchored to the Spinner widget than getting in dialog window.


回答1:


Jake Wharton, the author of ActionBarSherlock library, made possible to use IcsSpinner outside of action bar. Read through this discussion: https://groups.google.com/d/topic/actionbarsherlock/fL-JL6Mn7kg/discussion

IcsSpinner allow to setup dropdown or dialog mode.



来源:https://stackoverflow.com/questions/11840636/how-to-set-spinnermode-in-android-2-2

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