Thursday, April 22, 2010

Changing layout height dynamically

We can change the layout height dynamically to say, x by using

getLayoutParams().height= x;
requestLayout(); or invalidate();

No comments:

Post a Comment

Androidians