Bug 5814 - RelativeLayout layout_toLeftOf and other layout_to*Of members cannot reference resource IDs.
Summary: RelativeLayout layout_toLeftOf and other layout_to*Of members cannot referenc...
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.2.x
Hardware: PC Windows
: Normal enhancement
Target Milestone: 6.1 (C7)
Assignee: Stephen Shaw
URL:
: 31708 ()
Depends on:
Blocks:
 
Reported: 2012-06-22 04:32 UTC by Atsushi Eno
Modified: 2016-02-04 16:58 UTC (History)
4 users (show)

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


Attachments
sample sshot (221.06 KB, image/png)
2012-06-22 04:32 UTC, Atsushi Eno
Details


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:
Status:
RESOLVED FIXED

Description Atsushi Eno 2012-06-22 04:32:33 UTC
Created attachment 2102 [details]
sample sshot

On layout attributes for RelativeLayout such as layout_toLeftOf, we'd like to select a layout resource ID for the actual objects such as (@+id/)myButton. But the property value selector dialog does not let me select my controls, only to show some Drawables such as the app icon or framework resources.

Sample sshot attached for clarification.
Comment 1 Lluis Sanchez 2012-07-19 06:36:56 UTC
You can use the alignment handles for this.
Comment 2 t9mike 2012-10-04 09:55:59 UTC
I find the alignment handles challenging to use for my layouts and also would like to see the "search" icon bring up a list of resource IDs. I resort to typing in IDs while looking at my document outline.
Comment 3 t9mike 2013-04-27 15:19:50 UTC
Can we get this prioritized higher. I bet this is a common issue for folks using the designer. Especially when you have converted a layout container to RelativeLayout: all your children will be clumped together and you won't be able to use the "handles." I am constantly having to edit AXML by hand.
Comment 4 Stephen Shaw 2016-01-28 18:14:12 UTC
*** Bug 31708 has been marked as a duplicate of this bug. ***
Comment 5 Stephen Shaw 2016-02-04 16:58:30 UTC
Fixed in master 750e79903af4b282e33f3da300b7409062a568f8