Bug 56859 - Android Designer does not render Spinner correctly.
Summary: Android Designer does not render Spinner correctly.
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 7.2 (15.1)
Hardware: PC Windows
: Normal normal
Target Milestone: 15.5
Assignee: Jérémie Laval
Depends on:
Reported: 2017-05-26 00:24 UTC by Mark McLemore
Modified: 2017-10-12 17:51 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Rendering of layout in the Designer. (50.56 KB, image/png)
2017-05-26 00:24 UTC, Mark McLemore
Rendering of the layout on the device. (93.42 KB, image/png)
2017-05-26 00:25 UTC, Mark McLemore
The project .zip (audio functionality stripped out) (2.36 MB, application/zip)
2017-05-26 00:26 UTC, Mark McLemore
System info (1.21 KB, text/plain)
2017-05-26 00:27 UTC, Mark McLemore

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 Mark McLemore 2017-05-26 00:24:53 UTC
Created attachment 22474 [details]
Rendering of layout in the Designer.

I've opened an existing Xamarin.Android project in Visual Studio 2017 Enterprise and opened the layout in the Designer. The Spinner widgets are not being rendered correctly in the Designer (see screenshot designer-version.png).

However, when I run the app on an actual device (Nexux 5), the Spinner widgets are displayed correctly (see screenshot running-version.png).

Attached is a copy of the project (a "drum machine"). I've disabled audio functionality in order to keep the project .zip small enough to attach -- it builds and displays the layout, but that's about it.
Comment 1 Mark McLemore 2017-05-26 00:25:53 UTC
Created attachment 22475 [details]
Rendering of the layout on the device.
Comment 2 Mark McLemore 2017-05-26 00:26:41 UTC
Created attachment 22476 [details]
The project .zip (audio functionality stripped out)
Comment 3 Mark McLemore 2017-05-26 00:27:00 UTC
Created attachment 22477 [details]
System info
Comment 4 Jon Douglas [MSFT] 2017-06-26 15:57:19 UTC
I am setting the status of this bug to CONFIRMED as per the following reproduction in https://bugzilla.xamarin.com/show_bug.cgi?id=56859#c2

Here is a screenshot of the same behavior:


The spinners seem to be fairly straight forward:

            android:id="@+id/kitSelect" />
            android:id="@+id/patternSelect" />

I also attempted to mess around with the Theme and other various options, but the Spinner View does not seem to render at all.

Version Information:

Microsoft Visual Studio Enterprise 2017 
Version 15.2 (26430.14) Release
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Enterprise

Xamarin (fec6f88)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK (9dbc4c5)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK (ad35de4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Comment 5 Jérémie Laval 2017-10-12 17:51:01 UTC
Fixed in master/d15-5