[android-developers] Re: change margin of a view after it has been rendered

2010-04-28 Thread nou
> step, as it's been ages since I've needed to make changes like this Isn't this a good way of making changes? On Apr 27, 6:02 pm, Mark Murphy wrote: > nou wrote: > > It doesn't work. That's to change the margin at instantiation time. I > > already have an element on the page which I retrieve li

Re: [android-developers] Re: change margin of a view after it has been rendered

2010-04-27 Thread Mark Murphy
nou wrote: > It doesn't work. That's to change the margin at instantiation time. I > already have an element on the page which I retrieve like this > > LinearLayout el = (LinearLayout) findViewById(R.id.xxx); > > I'd like to change the margin of the element which is ALREADY > rendered That's wha

[android-developers] Re: change margin of a view after it has been rendered

2010-04-27 Thread nou
It doesn't work. That's to change the margin at instantiation time. I already have an element on the page which I retrieve like this LinearLayout el = (LinearLayout) findViewById(R.id.xxx); I'd like to change the margin of the element which is ALREADY rendered thanks On Apr 27, 3:22 pm, TreKing