如何显示日期选择为Android只月份和年份领域? [英] How to display date picker for android with only month and year fields?

查看:115
本文介绍了如何显示日期选择为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.

在code可以在这里找到: 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天全站免登陆