Hi, Yep, addRule() is what I need. I already found that. Thanks anyway.
Regards, Marcin Orlowski *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy... *Date In Tray* <http://bit.ly/dateintraypro> - current date at glance... WebnetMobile on *Facebook <http://webnetmobile.com/fb/>*, *Google+*<http://bit.ly/webnetmobile-gp>and *Twitter <http://webnetmobile.com/twitter/>* On 21 February 2012 15:52, Kookamonga <[email protected]> wrote: > I think I can be a bit more helpful. You basically have to use the > addRule method of RelativeLayout.LayoutParams as shown here: > > > http://android-coding.blogspot.com/2011/06/set-relativelayoutalignparenttoprelativ.html > > On Feb 21, 9:43 am, Kookamonga <[email protected]> wrote: > > https://www.google.com/webhp?&ion=1#hl=en&output=search&sclient=psy-a... > > > > On Feb 21, 8:53 am, Marcin Orlowski <[email protected]> wrote: > > > > > > > > > > > > > > > > > Hi, > > > > > I am trying to set android:layout_alignParentTop and > > > android:layout_alignParentLeft on view I create from code but I do not > see > > > a way to achieve that. Am I missing something or these params can only > be > > > set in XML? > > > > > Regards, > > > Marcin Orlowski > > > > > *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule > handy... > > > *Date In Tray* <http://bit.ly/dateintraypro> - current date at > glance... > > > WebnetMobile on *Facebook <http://webnetmobile.com/fb/>*, > > > *Google+*<http://bit.ly/webnetmobile-gp>and > > > *Twitter <http://webnetmobile.com/twitter/>* > > -- > 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 > -- 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

