Friday, November 2, 2012

[android-developers] Unexpected animation when changing Layout Margins on Jelly Bean

Since I upgraded to Jelly Bean 4.1.1 I have an unexpected sliding animation whenever changing the margins of any RelativeLayout programmatically. This happens if for example I change margins from (10, 10, 200, 200) to (20, 20, 220, 220), so meaning that because of the margins the layout will actually change position.

The model I used for development is a Samsung Galaxy SIII.

Is this something new that Google implemented on this version? or something specific from Samsung? I can't find on the API any reference on this.

Anyone knows how to override this sliding animation which I haven't in fact set at all?

Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate