首先能做的基本限制年。android:startyear=“”android:endyear=""这个属性是从api level 1开始就有的。从API level 11及以后,即3.0以后版本增加属性这个是限制最大最小日期的。