[android-developers] Zooming Layout

2011-08-19 Thread bhavani sankari
Hi All,

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.
Is it possible to get patches and apply in gingerbread so that we can
make use of these APIs in Gingerbread.

Any pointers?

Regards
Bhavani

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Zooming Layout

2011-08-19 Thread Mark Murphy
On Fri, Aug 19, 2011 at 5:09 AM, bhavani sankari bhavani...@gmail.com 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en