On Dec 31, 9:43 am, Mark Murphy <[email protected]> wrote:
> jotobjects wrote:
> > You cannot have a forward reference in the layout.    Here bucm is
> > later in the layout so that forward reference is not allowed.
>
> Actually, forward references work in Android 1.6+, but you have to put
> the + sign on the @+id the *first* time it is encountered. So, in this
> snippet, put @+id/bucm in the toRightOf, and when you define the widget
> later in the layout, give it an android:id of @id/bucm, and it works.
>

My misinformation is from the API docs where it says"
"For the sake of efficiency, the relations between views are evaluated
in one pass, so if view Y is dependent on the position of view X, make
sure the view X comes first in the layout." -
http://developer.android.com/reference/android/widget/RelativeLayout.html

Where is the update documented?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to