[android-developers] Problem with manual positioning of RelativeLayout childs

2012-02-21 Thread Marcin Orlowski
Hi, I got a relative layout to which I want to add some manually positioned childs. The thing I failed to do correctly now is the latter - enforcing certain position of the child. If anyone knows what I am doing wrong... My parent layout: RelativeLayout

Re: [android-developers] Problem with manual positioning of RelativeLayout childs

2012-02-21 Thread Kostya Vasilyev
You need use a subclass of LayoutParams specific to the enclosing layout's class. In this case, RelativeLayout.LayoutParams (IIRC, typing this from a phone). Also note: top/left alignment is the default. 21.02.2012 18:46 пользователь Marcin Orlowski webnet.andr...@gmail.com написал: Hi, I