Bug 12288 - User is not able to create 'Relative Layout' for MFA application
Summary: User is not able to create 'Relative Layout' for MFA application
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.6.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Tom Opgenorth
URL: http://docs.xamarin.com/guides/androi...
Depends on:
Reported: 2013-05-17 12:53 UTC by Mohit Kheterpal
Modified: 2013-05-22 12:27 UTC (History)
1 user (show)

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 Mohit Kheterpal 2013-05-17 12:53:27 UTC
Steps to reproduce:
1. Open X.S.
2. Create MFA project named HelloRelativeLayout.
3. Open the Resources/Layout/Main.axml file and insert the code mention in docs.
4. Load this layout in the OnCreate() method:

protected override void OnCreate (Bundle savedInstanceState)
    base.OnCreate (savedInstanceState);
    SetContentView (Resource.layout.main)
5. Debug or run the application

Actual result:
User is not able to create 'Relative Layout'. Application giving build error.

Below is the build output for the same:

Expected result:
User should able to create Relative layout and it should displays after the user launches application on

Environment details:
All mac
XS 4.0.6(build 4)
Mono 2.10.12
MFA 4.6.06011

Note: We have use following documents for creating a Relative layout
Comment 1 Jonathan Pryor 2013-05-20 09:57:42 UTC
This is a documentation bug. It should be `Resource.Layout.Main`, not `Resource.layout.main`.
Comment 2 Mohit Kheterpal 2013-05-22 12:27:34 UTC
As per comment 1, we have checked this issue and now we are able to run this application successfully on device/Emulator without giving build error.

And the doc has been updated. Hence verified this issue.