Android Question [Solved] Error in capture panel to imageview

asales

Expert
Licensed User
Longtime User
I used this code snippet to capture a panel to imageview:
https://www.b4x.com/android/forum/threads/capture-complete-panel-to-imageview.40657/

I changed the code to capture a panel inside another panel, but don't work.
See image and example in attached.

The captured image has a wrong top and left margins.
I don't know how to change the sub PanelCapture to capture correctly the panel.

Thanks in advance for any tip.
capture1.png
 

Attachments

  • capturepanel2.zip
    34.4 KB · Views: 172
Top