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