Back to project page android-collapse-calendar-view.
The source code is released under:
MIT License
If you think the Android project android-collapse-calendar-view listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.wefika.calendar.example; /*from w ww . j a v a2 s .c om*/ import android.app.Activity; import android.os.Bundle; import com.wefika.calendar.CollapseCalendarView; import org.joda.time.LocalDate; public class MainActivity extends Activity { private CollapseCalendarView mCalendarView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mCalendarView = (CollapseCalendarView) findViewById(R.id.calendar); mCalendarView.init(LocalDate.now(), LocalDate.now(), LocalDate.now().plusYears(1)); } }