Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
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)
5. Debug or run the application
User is not able to create 'Relative Layout'. Application giving build error.
Below is the build output for the same:
User should able to create Relative layout and it should displays after the user launches application on
XS 4.0.6(build 4)
Note: We have use following documents for creating a Relative layout
This is a documentation bug. It should be `Resource.Layout.Main`, not `Resource.layout.main`.
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.