Android picker/list similar to iOS date picker

放肆的年华 提交于 2019-12-06 02:40:38

问题


I'd like to implement an ios style picker on Android with multiple columns, such as this one:

Yes, I know that Android has a slightly different platform default for this kind of UI, but I really like the IOS style that shows the different options above and below and lets you easily drag up and down.

I'm already aware of this DateSlider project, but it's specific for dates, and I want to use it for custom lists. And also it uses horizontal scrolling rather than vertical.

Thanks!


回答1:


I was looking for something like that, until I found this widget. This is how it looks like:

Although I still didn't find a way to use it in my app ! Any help will be appreciated :)




回答2:


I reworked widget mentioned my iturki. Have a look:

Code on github.




回答3:


The closest thing built into Android is the Time Picker. Its not as fancy as its iOS counterpart, but gets the job done.




回答4:


An alternative DatePicker for Android http://code.google.com/p/android-dateslider/



来源:https://stackoverflow.com/questions/7405797/android-picker-list-similar-to-ios-date-picker

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