Bug 10610 - API level 14: GridLayout not displayed in toolbox + properties not displayed in properties window
Summary: API level 14: GridLayout not displayed in toolbox + properties not displayed ...
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 1.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jérémie Laval
Depends on:
Reported: 2013-02-23 14:32 UTC by softlion
Modified: 2017-09-01 07:10 UTC (History)
5 users (show)

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

Template set to API 14 (10.33 KB, application/octet-stream)
2013-05-15 12:13 UTC, Peter Collins

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 softlion 2013-02-23 14:32:57 UTC
I have an android project targeting API level 14.

The GridLayout should be available in the toolbox.

If a gridlayout is added manually, then selected, grid specific properties should be displayed in the properties window. But they are not.
Comment 1 Peter Collins 2013-05-14 18:23:47 UTC
On windows, I am also unable to find GridLayout in the toolbox, as well as view the GridLayout specific properties for a GridLayout that has been manually added via XML [0]. (Both X.S. and VS)

On OSX I am unable to repro, I can add a GridLayout from the toolbox, and view GridLayout specific properties in the properties panel [1]

Steps to reproduce:
1) Open an AXML file in the designer in VS or XS on Windows.
2) Search for a GridLayout in the toolbox.
3) Attempt to add 

[0]: http://screencast.com/t/8yJ3vWDU
[1]: http://screencast.com/t/c7wgsVHKR

Environment Details:
Windows 7x64
X.S. 4.0.6 (da8a8e9d) and VS
X.A. 4.6.4 (03814ac5)
Comment 2 Lluis Sanchez 2013-05-15 04:24:44 UTC
How did you configure the project to target API level 14?
Comment 3 Peter Collins 2013-05-15 11:45:33 UTC
@Lluis I was able to repro without any specific API level set on windows, just create any template and open the included .axml file.
Comment 4 Lluis Sanchez 2013-05-15 11:49:35 UTC
Peter, if you don't set an API level, that's the expected behavior. GridLayout was introduced in API level 14, so if you don't specify that your target API level is 14 or upper, you won't be able to use that widget.
Comment 5 Peter Collins 2013-05-15 12:11:35 UTC
Looks like this bug only exists in Visual Studio. After changing the API level [0] of a template I am able to properly use GridLayout in the X.S. designer. However, after loading this same project into VS 2012 I am still unable to select a GridLayout from the toolbar, or view any GridLayout specific properties in the properties pad.

[0]: http://screencast.com/t/sKFG4YDKTzYv
Comment 6 Peter Collins 2013-05-15 12:13:37 UTC
Created attachment 3970 [details]
Template set to API 14

Added sample project set to API 14 for reproduction.
Comment 7 softlion 2017-09-01 07:10:23 UTC
Using XamarIdea with Android Studio is much much better. Closing issue.