Thank you for your replies. But I still don't get it...

Could you please explain how I should use the LayoutParams ?
I thouht I only can use them with FILL_PARENT, WRAP_CONTENT and
addRule() but not to define a position with specific values.

@pskink
How would you do that ?



On 17 Feb., 15:23, skink <psk...@gmail.com> wrote:
> Kritzli wrote:
> > I'm still stuck on this problem. I tried to solve it by making the
> > whole activity dynamic. But still the button is positioned at top
> > left.
> > I can't see why
>
> > ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom());
>
> > isn't repositioning the button, even if it shows the right Values on
> > LogCat.
>
> instead of using RelativeLayout i'd use custom one extending ViewGroup
>
> pskink

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