- Home
- Forum
- Xamarin.Forms
- SfPicker: How to do a shadow for a SfPicker and customize the color used
SfPicker: How to do a shadow for a SfPicker and customize the color used
Hi, in your documentation screenshots for SfPicker running on Android it looks like there is a shadow below the picker when it is shown. When we run ours on Android there is no shadow. How do we make a shadow always appear? Also, can we customize the shadow color? (Gray, or Blue, or Green,...)
SIGN IN To post a reply.
4 Replies
HM
Hemalatha Marikumar
Syncfusion Team
November 4, 2019 10:39 AM UTC
Hi Derek Farr,
Greetings from Syncfusion.
Query 1: How do we make a shadow always appear?
We would like to inform you that Shadow is applied only when using Picker Mode as Dialog. We have prepared a sample using Dialog mode get it from below link.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/PickerSample_GS-1126637686
Query 2: Also, can we customize the shadow color?
Currently we don’t have a support to change the shadow color.
Please let us know if you have any other query.
Regards,
Hemalatha M.
DF
Derek Farr
November 4, 2019 05:21 PM UTC
I have updated the solution with some code that demonstrates this not working in Android. Will you please verify it and let us know why the shadow is not appearing?
Attachment: PickerSample_GSUpdated_76b8f940.zip
HM
Hemalatha Marikumar
Syncfusion Team
November 5, 2019 09:18 AM UTC
Hi Derek Farr,
Sorry for the inconvenience caused.
In our latest version 17.3.0.21, Picker’s shadow is not applied when it is in Dialog Mode. We have already fixed the issue and get the assemblies from below link.
Assembly Version: v17.3.0.21
Note: Please refer the below link to apply the custom assembly
Disclaimer:
Please note that we have created this patch for the version v17.3.0.21 specifically to resolve the issue reported in this.
Please note that we have created this patch for the version v17.3.0.21 specifically to resolve the issue reported in this.
This fix will be included in our upcoming weekly nuget release which is expected to be rolled out on November 12th ,2019.
Here please find the sample with attached assemblies from below
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/PickerSample_GS1018928000
Please let us know if you have any other concerns.
Regards,
Hemalatha M.
HM
Hemalatha Marikumar
Syncfusion Team
November 12, 2019 12:32 PM UTC
Hi Derek Farr,
Thanks for your patience.
We are glad to announce that our weekly NuGet was rolled out today and fix for the reported issue “Picker’s shadow is not applied when it is in Dialog Mode “was included in the weekly NuGet.
NuGet Version: 17.3.0.27.
NuGet Version: 17.3.0.27.
Please let us know if you have any other query.
Regards,
Hemalatha M.
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
DF Derek Farr
- Nov 1, 2019 03:47 PM UTC
- Nov 12, 2019 12:32 PM UTC