Hi there,

I have a relative layout with 2 existing image views in the XML file.
I have a button that programmatically adds more image views to this
relative layout. The question is, I would like the new ImageViews to
be relative to the last ImageView that has been added. How do I
specify the margins and the alignment parameters for it
programmatically? I thought of using a HashMap to store the ids that
are being created and then referencing those but I still am unsure on
how to use the RelativeLayout.params and all.

Thanks,
Tereno

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to