If I try something similar by adding the child views to an activity with an empty RelativeLayout, things position OK. But if I try your custom RelativeLayout class and add that to the activity, the child views overlapping. Hmmm...
On Jul 11, 11:48 am, Robert Nekic <[email protected]> wrote: > Whoops! Sorry I didn't notice that. Yes, at a glance it looks > correct. This doesn't really answer the question directly but have > you tried using a layout file instead? > > On Jul 11, 11:34 am, JCC <[email protected]> wrote: > > > > > > > > > but adding the "rules" isnt like defining the position of items? > > because on the second one for example I got to say that it should be > > below the first textview by saying > > ageParams.addRule(RelativeLayout.BELOW,viewNombre.getId()); -- 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

