Hi Ivo Ventura,
Thank you for contacting Syncfusion Support.
Query 1: The Current Day Selection has Red background.
Based on the provided information, we have checked your issue with “The Current Day Selection has Red background”. As per the current implementation the TodayTextColor will be applied on the custom month Cell BackgroudColor and the DateSelectionColor will be applied as TextColor while tap on the TodayDate. You can achieve your requirement by setting TodayTextColor as white.
Code Snippet to set TodayTextColor:
|
calendar.MonthViewSettings.TodayTextColor = Color.White; |
Query 2: The Circle is getting Squished in Android.
We have checked your issue with “The Circle is getting Squished in Android on SfCalendar” and we have modified the Sample as per your requirement. Current version has improved the proper UI rendering and layout improvements in SfCalendar XForms (Android) comparing older versions. Please find the modified sample from the below link,
Code Snippet to Clear the Circle Rendering Issue in OnMonthCellLoaded event:
|
selectedDateLayout = new RoundedBoxTextView { HorizontalOptions = Device.RuntimePlatform.Equals(Device.Android) ? LayoutOptions.Fill : LayoutOptions.CenterAndExpand, VerticalOptions = Device.RuntimePlatform.Equals(Device.Android) ? LayoutOptions.Fill : LayoutOptions.CenterAndExpand, FontSize = 20, TextColor = cal.MonthViewSettings.SelectedDayTextColor, BackgroundColor = cal.MonthViewSettings.DayHeaderTextColor, Padding = new Thickness(5), Text = args.Date.Day.ToString("d"), HasEvent = hasEvents }; |
Please let us know if this helpful.
Regards,
Vigneshkumar R