I\'m new to Android and I\'m working through a tutorial on programmatically creating a layout instead of doing it through the xml, I\'m sorta stuck can someone advise please. >
Did you try doing something like
home_scroll.setLayoutParams(..,..);
you can find these here
setLayoutParams(ViewGroup.LayoutParams params) Set the layout parameters associated with this view.