Android日期日历控件:TimesSquare

jopen 11年前

TimesSquare实现选择日期日历控件,可单选,多选,区间范围和对话框四种方式。

<com.squareup.timessquare.CalendarPickerView      android:id="@+id/calendar_view"      android:layout_width="match_parent"      android:layout_height="match_parent"      />
Calendar nextYear = Calendar.getInstance();  nextYear.add(Calendar.YEAR, 1);    CalendarPickerView calendar = (CalendarPickerView) findViewById(R.id.calendar_view);  Date today = new Date();  calendar.init(today, nextYear.getTime())      .withSelectedDate(today);

Android日期日历控件:TimesSquare

项目主页:http://www.open-open.com/lib/view/home/1389767815976