This is a migrated thread and some comments may be shown as answers.

Year View - days of months "thumbnails"

3 Answers 102 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
Namysław
Top achievements
Rank 1
Namysław asked on 20 Dec 2017, 08:59 AM

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)?

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 21 Dec 2017, 03:01 PM
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
0
Mehdi
Top achievements
Rank 1
Veteran
answered on 19 Feb 2021, 02:25 PM

Hi, anybody knows any setting for the calendar for highlighting or identifying days with appointments in the year view mode?

I mean, when in year view mode, those days with appointments, have different color for example. Currently, just today is highlighted.

I am looking for some way without having to write separate custom renderer for Android/iOS/UWP.

 
0
Mehdi
Top achievements
Rank 1
Veteran
answered on 19 Feb 2021, 02:46 PM
Sorry, putting this post here was a mistake 🙏
Tags
Calendar & Scheduling
Asked by
Namysław
Top achievements
Rank 1
Answers by
Yana
Telerik team
Mehdi
Top achievements
Rank 1
Veteran
Share this question
or