On Fri, Aug 19, 2011 at 5:09 AM, bhavani sankari <[email protected]> wrote: > I have a requirement to zoom entire Relative layout .I found zooming > APIs only from Android 3.0 > > View.setPivotX(pivot.x); > View.setPivotY(pivot.y); > View.setScaleX(scaleX); > View.setScaleY(scaleY); > > We are currently working in Gingerbread.How to use these APIs in > Gingerbread.
You don't. > Is it possible to get patches and apply in gingerbread so that we can > make use of these APIs in Gingerbread. No, sorry. I have not tried those methods and do not know if they would be suitable for zooming in the first place. In theory, they should, but in theory, so would a ScaleAnimation. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

