We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

The calendar in this picker on Android has a Pink background.

Thread ID:





145328 Jun 17,2019 09:58 PM UTC Jun 18,2019 11:49 AM UTC Xamarin.Forms 1
Tags: SfTextInputLayout
Brian Adams
Asked On June 17, 2019 09:58 PM UTC

 Attached is a screenshot.  Can you help provide the info I need to change the pink background in the calendar picker.  I also noticed that the blinking cursor when I enter an <Entry /> control is also pink and the "Drop" indicator that shows where the cursor is in the control is also pink.  How can I change these colors?


  <!-- Date of Birth --> 
                           <Grid WidthRequest="200" HorizontalOptions="FillAndExpand" >
                                HelperText="Enter your birth date"
                                HasError="{Binding HasDOBError}"
                                Hint="Date of Birth"
                                FocusedColor="{StaticResource CatchStatLightBlue}">

                                <Entry x:Name="validDate" Text="{Binding ValidityDate}"      
                                         HorizontalTextAlignment="Start" FontSize="Small" HeightRequest="45"/>
                                    <LayoutOptions  Alignment="Start"/>
                                 <inputLayout:LabelStyle  FontSize="Small">
                             <inputLayout:SfTextInputLayout.TrailingView >
                                    TextColor="{Binding Path=CurrentActiveColor, Source={x:Reference Name=birthdayLayout}}"

                                        <TapGestureRecognizer x:Name="labelGesture" Tapped="GestureRecognizer_Tapped" />

                                        <OnPlatform x:TypeArguments="x:String">
                                            <On Platform="iOS" Value="InputLayoutIcons" />
                                            <On Platform="Android" Value="InputLayoutIcons.ttf#InputLayoutIcons" />

                                Date="{Binding DateOfBirth}"
                                MaximumDate="{x:Static system:DateTime.Now}"
                                BackgroundColor="{StaticResource  CatchStatLightBlue}"
                                VerticalOptions="CenterAndExpand" />
                                 <inputLayout:LabelStyle FontSize="Small">

Attachment: IMG_0983.jpg_5a0174b6.zip

Rachel A [Syncfusion]
Replied On June 18, 2019 11:49 AM UTC

Hi Brian, 
Thanks for your interest in Syncfusion products. 
You can refer the below link to change the background color of the date picker. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon