setting the attributes for landscape dynamically
<p>Hi
how to set the attributes like width,height for landscape mode dynamically.Initially i have set the attributes for portrait in onCreate(Bundle) method.But how can i set these attributes for landscape mode.How it ll be fetched automatically when the orientation changes.
Please help me to solve this issue
<code>lp = new TableRow.LayoutParams(TableRow.LayoutParams.FILL_PARENT,
                    55);
tr.setLayoutParams(lp);
</code>
like this how can i set for landscape.In the landscape i want to set my width as 160 for each textview added.</p>
