Without seeing your code...

On Thu, Sep 3, 2009 at 12:00 PM, Jason
Proctor<[email protected]> wrote:
>
> anyone? this is a fairly simple thing to want to do, and the
> documented ways of doing it don't work. do i log a bug?
>
>
>
>>hey -- i'm programmatically adding views to a LinearLayout inside a
>>ScrollView and i'm running into some issues setting margins and
>>padding etc for child views of the LinearLayout.
>>
>>i've tried child.setPadding() and adding the view with a
>>MarginLayoutParams set up right, but the child view still fills the
>>parent width.
>>
>>what is the correct way to programmatically set the parameters which
>>are set statically by layout_marginLeft, layout_marginRight, etc?
>
>
> --
> jason.vp.engineering.particle
>
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

Reply via email to