Bug 5634 - Opening a layout file from layout-land starts designer in portrait mode
Summary: Opening a layout file from layout-land starts designer in portrait mode
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2012-06-13 12:03 UTC by Justin
Modified: 2012-07-23 06:43 UTC (History)
0 users

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:

Description Justin 2012-06-13 12:03:54 UTC
1) Create xml layout files in Resources/layout and Resources/layout-land with the same name, but different layout code.

2) Open the file in Resources/layout-land.

3) The designer should start up in landscape mode, but does not.  It starts up in portrait mode...  Clicking on the source button also shows the xml for the portrait file.

4) The workaround is to change the layout in designer to landscape... but that is counter-intuitive.  If I open the file from layout-land, then it should show me the landscape version of the layout.

5) Also, in the designer, if you edit one of the files (say, the one in layout-land) and save it, then svn marks both the layout-land and layout versions as changed when only one changed.  This is minor, but something I happened to notice.
Comment 1 Lluis Sanchez 2012-07-23 06:43:08 UTC
Fixed in master.