What I am trying to do is changing margin of a view sitting on a frame
layout AFTER the view was rendered.
>From what I was able to find I  did the following:

FrameLayout.LayoutParameters lp = new
FrameLayout.LayoutParameters(LayoutParameters.WRAPCONTENT,
LayoutParameters.WRAPCONTENT);
lp.setMargin(left, top, 0, 0);
imageView.setlayoutParameters(lp);
frameLayout.invalidate();

This does not work however.
What am I doing wrong?
Thanks in advance

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

Reply via email to