Bug 46070 - Custom control not displaying in designer
Summary: Custom control not displaying in designer
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 7.0 (C8)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2016-10-27 20:20 UTC by Hrvoje
Modified: 2017-05-17 12:44 UTC (History)
2 users (show)

Tags: BZCU
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 FIXED

Description Hrvoje 2016-10-27 20:20:38 UTC
In previous beta build we had renddering custom controls in designer as expected.

For instance, if I create custom control of ScrollView and put it as root of our layout, in designer it is displayed as dark control without any child control in it, eventhough it does have child controls if we look into axml code.

Simple custom control (such as inherited TextView), is painted as black control (not rendered as textview).
Comment 1 Ashley Gazich [MSFT] 2016-10-31 21:00:39 UTC
Is a 64-bit version of the JDK installed? 
This is now required to use custom controls in the Android Designer (https://developer.xamarin.com/releases/android/xamarin.android_7/xamarin.android_7.0/). 

Also, may I ask for your full version information? https://developer.xamarin.com/guides/cross-platform/troubleshooting/questions/version-logs/#version-information
Comment 2 Hrvoje 2016-11-01 11:37:10 UTC
Does that mean that we need to have both 32 and 64 bit version of JDK installed, or only 64bit?
Comment 3 Hrvoje 2016-11-01 11:37:25 UTC
Does that mean that we need to have both 32 and 64 bit version of JDK installed, or only 64bit?