Bug 56859 - Android Designer does not render Spinner correctly.
Summary: Android Designer does not render Spinner correctly.
Status: RESOLVED FIXED
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
URL:
Depends on:
Blocks:
 
Reported: 2017-05-26 00:24 UTC by Mark McLemore
Modified: 2017-10-12 17:51 UTC (History)
3 users (show)

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


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


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 FIXED

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:

http://i.imgur.com/3bf2w0i.png

The spinners seem to be fairly straight forward:

        <Spinner
            android:layout_width="140dp"
            android:layout_height="70dp"
            android:gravity="center"
            android:id="@+id/kitSelect" />
        <Spinner
            android:layout_width="135dp"
            android:layout_height="50dp"
            android:gravity="center"
            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
VisualStudio.15.Release/15.2.0+26430.14
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Enterprise

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

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

Xamarin.iOS and Xamarin.Mac SDK   10.10.0.37 (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