Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android, is it possible to animate TextView.setGravity()?

I have a situation where I would like to programmatically change the gravity of my text view (Gravity.CENTER_HORIZONTAL|Gravity.BOTTOM to Gravity.START|Gravity.BOTTOM). Currently I'm using the setGravity() method, but I'm wondering if there is anyway to set this to smoothly transition over to the new position rather than just jumping to the new discrete position.

Thanks, Hugh

like image 907
Hugh Archibald Avatar asked Nov 09 '22 23:11

Hugh Archibald


1 Answers

I ended up re-organizing my layout leaving the problem moot. Still not a solution to what I was asking though.

like image 57
Hugh Archibald Avatar answered Nov 15 '22 06:11

Hugh Archibald