0

I have a case where have to dynamically change width of a button placed alongside another button in a horizontal linear layout. Button width change depend upon certain condition.

I have already tried many of solutions posted at stackoverflow, but the animation is never smooth. Lags on low-end devices. Some time the text within button seems to be sliding in which I don't want.

Here is what I want to achieve, pls see here how smoothly button width changes in google messages just want to achieve same animation.

Just for reference i've already top voted solutions here, for example Resizing layouts programmatically (as animation)

Adnan khalil
  • 134
  • 1
  • 9

0 Answers0