Year View - days of months "thumbnails"

2 posts, 0 answers
  1. Namysław
    Namysław avatar
    42 posts
    Member since:
    Jul 2017

    Posted 20 Dec 2017 Link to this post

    Is there a way to "standardize" (make similar on iOS and Android) Telerik RadCalendar in Xamarin Forms, in case of Year View?

    Currently, on Android, Year View shows days of months "thumbnails", which looks crappy on small devices displays - causing "overlapping", like:
    attached Android_overlapping.png


    On bigger devices screens it looks quite fine, but there is a difference between Android and iOS:
    attached Android.png
    and
    attached iOS.png

    Is there a way to disable days of months "thumbnails" on Android and leave only months names (like on iOS) OR to enable days of months "thumbnails" on iOS (like on Android)?

  2. Yana
    Admin
    Yana avatar
    4701 posts

    Posted 21 Dec 2017 Link to this post

    Hi Namysław,

    Currently not all platforms have the same Calendar views. You could check at the following link which views exactly are supported in iOS and Android:
    Calendar ViewMode

    We have an internal feature request about supporting MonthNames view across all platforms, I've exposed it as a public feedback item in our Feedback Portal, so you can subscribe to it and cast your vote here: https://feedback.telerik.com/Project/168/Feedback/Details/239409-calendar-monthnames-view-to-be-supported-in-all-platforms

    In the meantime, you could skip the MonthNames view in iOS inside ViewChanged event handler using the TryNavigateToUpperView method of the Calendar, here is a sample snippet:

    private void calendar_ViewChanged(object sender, Telerik.XamarinForms.Common.ValueChangedEventArgs<Telerik.XamarinForms.Input.CalendarViewMode> e)
    {
        var cal = sender as RadCalendar;
        if (cal.ViewMode == CalendarViewMode.MonthNames)
            cal.TryNavigateToUpperView();
    }

    Please try it and let me know whether such an approach would be suitable for you.

    Regards,
    Yana
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top