imageview

  1. 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...
  2. 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
  3. 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...
  4. 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?
  5. Yeskay

    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")...
  6. K

    Spanish Cargar imagen desde galeria y mostrar en imageview

    Buenas, Estoy trabajando en un proyecto donde debo cargar una imagen desde la galería y mostrarla en un imageView, ya la puedo seleccionar con este código: Chooser.Initialize("chooser") Try Chooser.Show("image/*", "Seleccione Imagen") Log("Imagen Cargada") Catch...
  7. K

    Spanish Cargar y mostrar en un imageview

    Buenas, Estoy trabajando en un proyecto donde debo cargar una imagen desde la galería y mostrarla en un imageView, ya la puedo seleccionar con este código: Chooser.Initialize("chooser") Try Chooser.Show("image/*", "Seleccione Imagen") Log("Imagen Cargada") Catch...
  8. Star-Dust

    B4J Library [B4X] [XUI] SD ImageViewMultiple

    This new view allows you to insert up to 4 images and be viewed simultaneously in a view potion (See example images) The images are inserted with a small animation that makes the image look like clock hands. --------- 2 imeges ----------------- 3 images ----------------- 4 images ---------...
  9. Star-Dust

    B4J Library [B4X] SD_ImageView

    I created a custom ImageView view that allows you to upload an image from the web. Just pass the URL as a parameter This class is B4X but does not depend on the XUI library SD_ImageView Author: Star-Dust Version: 0.03 SD_ImageView Events: LongClick OneClick Fields: NatObject As ImageView...
  10. D

    Android Question Load PDF pages in CustomListView - zoom enabled

    How can I show a multi page pdf in a CustomlistView and set each page so that the user is able to zoom the image? I also tried using Webview but it does not work:- dim image as imageview Private CLV1 As CustomListView For i = 0 To pdf.PageCount-1 Dim p As B4XView =...
  11. Kevin Hartin

    Android Question How to put bitmap object into imageview

    I am successfully putting image files into an Sqlite blob, then later reading them from the blob field, however I end up with them in a bitmap object which I then have to put into an imageview. I can see the activity background image, so I k ow I have the blob as an image object, I just need to...
  12. Flavio SOuza

    Android Question How to get the width and height of an ImageView?

    How can I add an image without distorting the image in heigth ? my code: imgLogo.Top = 65dip imgLogo.SetLeftAndRight(10%x,90%x) imgLogo.Height = auto?
  13. Scotter

    Android Question array of bitmaps inverted-ish

    EDIT: SOLVED! Added this line of code: imvHearts(i).Gravity=Gravity.FILL Hi - I've created my first animation, yay, to glitz-up a bit this game. The first "flying heart" works great. I created the ImageView in the designer and then referenced it from code. Then I decided I wanted 9 more hearts...
  14. Brandsum

    Android Tutorial Fill or Fit image to ImageView

    Hi, Here is how you can set the scale mode of an ImageView like CSS background-size property. 'scale = cover,contain,fill Public Sub SetImageView(iv As ImageView,bmp As Bitmap, scale As String) Dim jo As JavaObject=iv jo.RunMethod("setImageBitmap",Array(bmp)) Select scale...
  15. Star-Dust

    B4J Library [B4X] [XUI] SD XUIView

    I'm happy to announce the publication of my new B4XView library. This library adds to the XUi Views the native views of the three platforms (Android / IOS / Desktop) so that they can be managed by Design, using them as XUI views without having to change its type in the Globals Sub. With this...
  16. Pedro Caldeira

    B4J Question Runtime error

    Hello All, I have a GUI application that load correctly in my development computer, either in debug or release modes. when i place the jar in a differente pc also wit windows 10(like mine) orwith windows 7. I get a error message (RuntimeException)java.lang.RuntimeException:Object should first...
  17. FERNANDO SILVEIRA

    Android Question Doubts on Imageview/LoadBitmap

    Hello Guys, I'm using Imageview/LoadBitmap/LoadBitmapResize to present .JPG files based on program logic. My question is: Do I have to load every single .JPG file to the project at design time? What If I just add new .JPG to file directory? Will my app find these new files or do I have to...
  18. M

    Android Question [SOLVED] jRDC & sqlite image blob retrieval and display in imageview

    SOLVED: B4A project using jRDC on local and remote servers just fine however I can't nut out how to successfully convert a retrieved blob from sqLite db and display image in an imageview. the update/insert side is this: Dim req as dbRequestManager Dim sSQL() As String Dim Buffer() As Byte...
Top