Bug 27797 - Android L 5.0 Elevate property does not work with Xamarin Forms Project
Summary: Android L 5.0 Elevate property does not work with Xamarin Forms Project
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.5
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-09 16:40 UTC by Michael
Modified: 2016-11-17 04:52 UTC (History)
8 users (show)

Tags: android theming ac
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:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Michael 2015-03-09 16:40:24 UTC
Description:
The Elevate property does not render correctly in Xamarin Forms Projects. The elevate property is a Android 5.0 feature.

Steps to reproduce:
Open and run attached project
Top button should be elevated in comparison to the bottom button

ElevationButtonRenderer.cs in the Android portion of the project contains the custom renderer with the elevation property implemented.
Comment 1 Michael 2015-03-09 16:41:45 UTC
Project to reproduce bug:
https://www.dropbox.com/s/5l1z3v2v74k60ld/xamarin-elevation-master%202.zip?dl=0
Comment 2 Naqeeb 2015-03-11 12:23:05 UTC
I have checked this issue with the help of attached sample given in bug description and able to reproduce it successfully. I have deploy on device Android 5.0 and observed that top button elevated in comparison to bottom button.

I have checked this issue with Xamarin.Forms 1.4.1.6342-pre1.

Screencast: http://www.screencast.com/t/S6oRqh4obMg
Ide log: https://gist.github.com/saurabh360/163a5fbc0d12ec6bf6af

Environment info:
=== Xamarin Studio ===

Version 5.7.2 (build 7)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Runtime:
	Mono 4.0.0 ((detached/7f27bd7)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000049

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.Mac ===

Version: 2.0.0.9 (Business Edition)

=== Xamarin.Android ===

Version: 5.1.0.7 (Business Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.iOS ===

Version: 8.6.3.3 (Business Edition)
Hash: 4632841
Branch: 
Build date: 2015-03-03 17:51:19-0500

=== Build Information ===

Release ID: 507020007
Git revision: dcf3f486177d3e625349b51a8f3be807e3fa7712
Build date: 2015-02-24 09:14:27-05
Xamarin addins: ea7c65bb7876e4a876ab365208e94acdf8f330ef

=== Operating System ===

Mac OS X 10.10.0
Darwin Jatin66s-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 3 Paul DiPietro [MSFT] 2016-11-17 04:52:53 UTC
Reproduction project no longer exists. If this bug is still occurring, please reopen with a reproduction project.