An imageview is used to host a rather large image which then could be zoomed, centering the image during the zoom, and panned.
It can be converted to a custom view. Zooming center loses its meaning when the image is fully displayed and pan is not possible, another center
for zoom could now be...
Hello friends of the community. Please help me. In B4A, the image will be displayed at the set size, but in B4J I have tested many ways and the image will not be displayed at the set size. Inside the attachment is a small example.
Sub Class_Globals
Private Root As B4XView
Private xui As...
Hi everyone,
I have a list of images from online sources that I'm loading into an ImageView using SimpleMediaManager within a RecyclerView.
My question is, how can I implement caching, like Picasso does, so that images that have already been loaded and cached don't get reloaded?
Thanks
Hello, I have code to display an Image to Imageview but I'm having this Error
Error occurred on line: 332 (HttpJob)
java.lang.RuntimeException: Error loading bitmap.
at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize2(CanvasWrapper.java:539)
at...
Hi all.
I took the photo with the camera in portrait mode. Uploaded this photo to my computer and opened it - still portrait mode but when I open the same photo in Image View it's in landscape. Is it possible to rate the photo in ImageView?
Ciao
Nel designer ho cercato in tutte le combinazioni possibili con anchor ma niente
le ImageView sono sempre spostate o a destra o a sinistra rispetto al panel o alla schermata telefono.
Quando si tratta di label o button che hanno al massimo 2 view, non ho problemi
ma in questo caso le...
Hello, I wanted to print some images obtained from a URL stocked in a SQLite DB. I don't really know how to do it. i implemented some code in job done to apply images into panel's image views but still having issues. Some one knows how to do it ?
Sub JobDone(Job As HttpJob)
If Job.Success...
Hi, I`ve created a QR code in an imageview and I want to save it to 'xui.defaultfolder' so i can use it in a PDF document. My code works on B4a but its not working on B4i, any idea`s what I`m doing wrong?
#if b4a
qr.Initialize(view_pdf_qr.width)...
Hello.
I have:
Sub Globals
Dim lstViews As List
Here's how I form a List:
Sub Activity_Create(FirstTime As Boolean)
lstViews.Initialize
For Each vw As View In Activity
lstViews.Add(vw)
Next
As a result, I would like to track the Click event to various objects, the...
Modified version of Erel's B4XImageView - which is inside the "Xui Views" library.
It does not replace that, just add this to the additional libraries folder (B4X) and then choose whether to use in your project this or that.
The changes are two:
1 - I added the Click event - which also takes...
Hello, as the title indicates, I am seeing some examples of xCustomListView, but in the case of placing the images, it seems they only use the ones stored in the "File.DirAssets", I have seen the example of obtaining data from mysql and it works for me, but not I manage to put the images in the...
Greetings,
Using SetBitmap changes one of my ImageView bitmap image from a circle shape to a square shape. That caught me by surprise. Please check my usage of SetBitmap and please let me know how I messed up the displaying of my image.
This is what the play-circle icon looked like before and...
Greetings,
In the designer, I placed an ImageView on my layout. The Drawable property has another property called Image File. When I typed the name of my ImageView defined in Globals in my coding, I followed it by a full stop, the auto-complete was displayed. In the list, I looked for Drawable...
I have a problem with images in ImageViews which in B4i are very pixelated in contrast to B4A where the same images are sharp.
Examples below with images cut out from app screenshots. B4A is first.
The effect is real, it is not just caused by the screenshots.
How can I fix this problem...
The code below takes a picture, saves and loads it back. However, the image after the code execution is not scaled as in the preview, it looks as if cropped and then resized to the view.
Sub TakePicture
Wait For(cam.FocusAndTakePicture(MyTaskIndex)) Complete (Data() As Byte)...
Hey All,
Hopefully this is a quick one. I've found hints that it can be done and managed to get something unscaled, but figured I'd check with the group.
I'd like to change my main menu screen background depending on the organization that is using the program. I can change it in the...
I need to create a number (variable qty) of image views on a panel, I know I`ve seen it before but for the life of me, I can`t find or remember how to do it. Apologies for my stupidity, but would appreciate someone nudging me in the right way.
Thanks
Hi all!
I have a layout with imageview setted with picture. In Activity, after some condition, i need to change this picture in imageview but when i do i lose the autoscale settings. There is a way to recall script or i need to use different layout?
If i reload the layout, it is also reload the...
Greetings.
I plan to create a couple of image views that will increment or decrement a slider only if they do a long click and keep their finger on the views. Does B4A have an image view that has a rapid change property like one from the B4XPlusMinus view?
i want to know how to add shadow to an imageview.
i tried to add shadow to label with the following code and it is working fine. but the same way it is not working for imageview
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.