Hi,

When I create a TextureView for a android.hardware.Camera preview and
set the scaleX and scaleY properties in my Activity onCreate method,
everything looks great and as expected.

However when I try calling setScaleX/setScaleY in the onClick listener
of a button and invalidate/postInvalidate the view, I see no changes
in the view.  I tried similar things with ObjectAnimator with the same
result.  The scaling only seems to work when the TextureView is first
created.

Can I change the scaling of my TextureView in a click listener while
the camera preview is running?  Is there any way to get this to work
while my activity is running and the preview is on the screen.

Thanks

-- 
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

Reply via email to