In Android's XML layout system, I'd like to be able to set the value of one views property to the value of another views property.
For example, something like this:
android:layout_marginRight="@id/rightBarButton:width"
Would set the marginRight value of this view to the width value of the rightBarButton view.
I already know I can do this programmatically, but is there a way to do this in XML?


