title: How to show a specific month in android CalendarView?
body: <p>I want to show a specific month to user using android CalendarView. Please help me to implement this functionality. I wrote following code but it is not working.</p>
  
  <pre><code>  CalendarView calendarView = (CalendarView) findViewById(R.id.calendarView);
      Calendar calendar1 = Calendar.getInstance();
      calendar1.set(2016, 6, 1);
  
      Calendar calendar2 = Calendar.getInstance();
      calendar2.set(2016, 6, 30);
  
      calendarView.setMinDate(calendar1.DATE);
      calendarView.setMaxDate(calendar2.DATE);
  </code></pre>
  
  <p>Following output is coming when i am trying to run the app using above code.</p>
  
  <p><a href="https://i.stack.imgur.com/uWUWa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uWUWa.png" alt="enter image description here"></a></p>