dynamically increase the relative layout size in android
<p>i have a relative layout on which i am displaying a page and some content. when i zoom my page...the layout size is not increasing. i want my layout to increase its size dynamically. how do i set it??
i tried doing it in java code.
contentLayout.getLayoutParams().height = x (some value which is equal to the page size)
contentLayout.requestLayout()</p>

<p>but this is nt working. i have also set the layout params -width and height to wrap-content in xml.</p>

<p>Kindly, help me out. thank you</p>
