imageview

  1. jkhazraji

    Share My Creation Image Center Zoom with Pan

    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...
  2. byz

    B4J Question [Resolved]The B4J ImageView image is not displayed at the set size

    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...
  3. J

    Android Question SimpleMediaManager - How to Implement Caching

    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
  4. M

    Android Question [SOLVED] Error Load Bitmap to ImageView

    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...
  5. A

    Android Question ImageView image orientation problem

    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?
  6. XorAndOr

    Italian B4A: Come centrare ImgView dentro panel?

    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...
  7. 2SucresCelestin

    Android Question Print a picture in CLV from a URL obtained from an SQLite DB

    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...
  8. james_sgp

    iOS Question B4i Save Imageview as Jpeg

    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)...
  9. A

    Android Question Sender for List

    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...
  10. LucaMs

    B4A Library [B4X][B4Xlib] lmB4XImageView

    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...
  11. Melek

    Android Question Placing images in xCustomListView from apache server using mysql logs

    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...
  12. rleiman

    Android Question [SOLVED] - SetBitmap changes ImageView bitmap image from a circle to a square

    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...
  13. rleiman

    Android Question [SOLVED] - Accessing the Image File property of Drawable in code for an ImageView

    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...
  14. Martin Larsen

    iOS Question ImageView in B4i is pixelated

    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...
  15. gezueb

    Android Question Camera picture size

    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)...
  16. AKJammer

    B4J Question Loading a scaled background image programatically

    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...
  17. james_sgp

    Android Question Create an array of Imageviews with code

    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
  18. C

    Android Question How to change picture after load layout

    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...
  19. rleiman

    Android Question [SOLVED] - Image view with repeat click event handler

    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?
  20. sentechnologies

    Android Question ImageView Shadow/Glow

    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")...
Top