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

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