Bug 29269 - Frame view on Android missing shadow
Summary: Frame view on Android missing shadow
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.4.2
Hardware: PC Mac OS
: Normal minor
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-04-21 07:16 UTC by Prashant Cholachagudda
Modified: 2016-11-07 14:22 UTC (History)
7 users (show)

Tags: ac android frame
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Prashant Cholachagudda 2015-04-21 07:16:31 UTC
HasShadow property is ignored on Android and we don't see any shadow on the Android devices. Meanwhile, it works perfectly on iOS

#Sample Code
		public App()
			// The root page of your application
			MainPage = new ContentPage
				Content = new StackLayout()
					Padding = 20,
					BackgroundColor = Color.White,
					Children =
						new Frame()
							HasShadow = true,
							BackgroundColor = Color.Blue,
							Content = new Label()
								Text = "This frame should have a shadow",
								TextColor = Color.White

Comment 2 Jason Smith [MSFT] 2016-04-08 19:44:57 UTC
Thank you for your report. At this time there are no plans to implement any changes around this issue.

Warm regards,
Xamarin Forms Team
Comment 3 nicollas braga 2016-07-01 15:05:59 UTC
Some suggestion about how to force a shadow on Android ?
 I'm trying to do something like https://developer.xamarin.com/samples/xamarin-forms/Effects%5CShadowEffect/

but it's throwing exception on InitializeComponents when design is build with xaml 

Comment 4 sh.naz 2016-11-07 14:22:08 UTC
@Jason Smith, your answer doesn't make any sense. 
What do you mean by you dont "have a plan to implement any changes around this issue"?

Is it impossible, is that what you are saying, then I would rather prefer HasShadow removed from frame?