Android Question How to control the ZoomableImageView control?

artsoft

Active Member
Licensed User
Longtime User
Short question:

I am using this zoomable image view control:
https://www.b4x.com/android/forum/t...platform-zoomable-pannable-image-view.119987/

Why this control has no size and location members?
I miss .left, .top, .width and .height. As well as the .visible command ...

How I can control this widget?
In the example project, the control covers the whole activity GUI ... Thats easy.
But how can I manipulate the location of the control and its visiblity?

Thanks and best regards
ARTsoft
 

artsoft

Active Member
Licensed User
Longtime User
Ok I have it ................ This was easy.

Custom controls have base view which can be manipulated as a normal view .... via MBASE.

So it is easy to set the location (left, top) with such a command:

B4X:
controlName.mbase.left = 100dip
controlName.mbase.top = 150dip

Regards
ARTsoft
 
Upvote 0

Similar Threads

Top