Bug 4292 - Reflect View ID changes in android:layout_toXxxOf property in RelativeLayout too
Summary: Reflect View ID changes in android:layout_toXxxOf property in RelativeLayout too
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: Trunk
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
: 4945 ()
Depends on:
Reported: 2012-04-06 09:03 UTC by Atsushi Eno
Modified: 2012-05-08 11:35 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 Atsushi Eno 2012-04-06 09:03:24 UTC
When we design View with RelativeLayout, we lay out controls android:layout_toRightOf Xxx etc. to control relative positioning of them.

When we are done with the layouts, *and then* start to rename each component to make sense, the layout starts to get broken. It is because android:layoutXxxOf attributes are not synchronized to reflect the name changes.

It would be nice if those attributes are updated in sync.

(I guess there is no need to limit the scope of renaming to RelativeLayout and make it complicated, would be OK to rename any relevant attributes as long as they exist.)
Comment 1 Lluis Sanchez 2012-04-19 05:16:01 UTC
Fixed in master.
Comment 2 Lluis Sanchez 2012-05-08 11:35:15 UTC
*** Bug 4945 has been marked as a duplicate of this bug. ***