Today Calendar in Android

2 posts, 0 answers
  1. Ivan
    Ivan avatar
    1 posts
    Member since:
    Sep 2014

    Posted 01 Oct 2014 Link to this post

    Hi, how to select today in calendar Android, if you stay in other day? Return to this day.

    Regards 
    Thank you
  2. Antony Jekov
    Admin
    Antony Jekov avatar
    88 posts

    Posted 02 Oct 2014 Link to this post

    Hello Ivan,

    Thank you for contacting the Android team.

    I am not sure what you mean by selecting the today's date and returning to it. If you want to select it, you need to tap on it while having one of the selection modes enabled. Returning to it is shown in one of our examples. Simply set the date of the calendar by using the current date - calendarView.setDisplayDate(Calendar.getInstance(Locale.getDefault()).getTimeInMillis());

    Please let me know if this answers your question or if you have any additional struggles.

    Regards,
    Antony Jekov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top