如何显示只有月和年字段的android的日期选择器? [英] How to display date picker for android with only month and year fields?

查看:1070
本文介绍了如何显示只有月和年字段的android的日期选择器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要禁用Android sdk日期选择器上的日期选择选项。任何简单的xml配置将是最好的

i want to disable the day selection option on the android sdk date picker. any easy xml configuration would be the best

推荐答案

我刚刚发布了一个新的日期选择器框架,允许您创建自定义日期选择器。我还提供了一些例如你正在寻找的日期选择器。希望,它适用于您。

I just have released a new date picker framework which allows you to create custom date picker. I also provided some example date pickers like the one you are looking for. Hope, that it works for you.

代码可以在这里找到: https://github.com/bendemboski/DateSlider

the code can be found here: https://github.com/bendemboski/DateSlider

更新06/2014:
这个图书馆是在2010年开发的,自2011年以来一直没有得到维护。所以现在很有可能已经过时了。

UPDATE 06/2014: This library was developed 2010 and has been unmaintained since 2011. So it is most likely out of date by now.

这篇关于如何显示只有月和年字段的android的日期选择器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆