0

I am creating an app in which I expand the view by setting layout params like this:

ViewGroup.LayoutParams params = myview.getLayoutParams();
params.height = ViewGroup.LayoutParams.WRAP_CONTENT;
myview.setLayoutParams(params);

It's expanding correctly but I like to do it in smooth way either by setting animation along with params or like to set duration for that expand.

Please help me is it possible to do.

Rohit5k2
  • 17,948
  • 8
  • 45
  • 57
swatz
  • 55
  • 11

0 Answers0