B4J Question add image to button - ilan    May 7, 2016 hi
i want to add an image to a button via designer but i get this error:
Program started.
מ××™...-background-image:url(file:/C:/ilan/Broken%20HD%20(DELL)/F/B4J%20Projects/Translator/Files/Add-icon.png);-fx... B4J Question How to add an Image to a "in code" created Button? - Cableguy    Oct 5, 2015 I guess the title says it all, how to add an image to a button that was created in code?... B4A Library [B4X] SimpleMediaManager (SMM) - framework for images, videos and more - Erel    Jul 2, 2025   (47 reactions) Not mandatory but you should always add it WebP images SMM_WEBP WebP image/webp Pay attention to... example, it is simple to show an animated gif while the main resource is loading. Images are loaded... ZoomImageView Set with REQUEST_ZOOMIMAGEVIEW Notes: The placeholder panels are expected to be empty... - Adds support for animated WebP images on Android 9+. - v1.09 - Fixes issue with missing layout file. - v1.08 - Adds support for showing images with ZoomImageView instead of B4XImageView: https://www... B4A Library [B4X] ZoomImageView - Cross platform zoomable + pannable image view - Erel    Mar 12, 2025   (33 reactions) /android/forum/attachments/1-gif.122485/ Tip: simplest way to add ZoomImageView is with SMM...A custom view that shows an image and allows the user to zoom and pan the image. Instructions: - Add with designer. - Call SetBitmap. Updates: v1.06 - Fixes an issue with Android 15. v1.05... the image jumps when switching from pinch gesture to pan gesture. v1.03 - Fixes an issue with the click... with old Android devices. More sophisticated view that can handle huge images: https://www.b4x.com... B4A Tutorial [B4X] I need 100 <custom view here>s. How to add programmatically? - Erel    May 21, 2020   (11 reactions) ) For i = 1 To 20 AddSwitch(50dip, 40dip * i, i) Next End Sub Sub AddSwitch (Left...Custom views are designed to be added with the designer. It is however very simple to create a layout file with the custom view and load it multiple times. https://www.b4x.com/basic4android/images/B4A_NrYo4sDqsp.png Tip: remove the call to AutoScaleAll from the designer script. Complete example...) B4XSwitch1.mBase.Left = Left 'B4XSwitch1 global variable will point to the last one added... B4A Library [B4X] BitmapCreator Effects - Erel    Apr 29, 2021   (31 reactions)   tags: image effect flip, BitmapCreator, Effect, B4X BitmapCreator Effects BitmapCreatorEffects class includes all kinds of very simple to use image effects. The class... the various methods. Updates v1.40 - Adds support for B4XImageViews (XUI Views). - New ScaleDownImages... then you should set the image when ScaleDown = False, with XUIViewsUtils.SetBitmapAndFill. v1.31... and added FlipVertical and FlipHorizontal methods. v1.10 - Adds TransitionAnimated method to... an image: Dim GreyImage As B4XBitmap = effects.GreyScale(ExistingBmp) 'Blur an image: Dim... B4A Library [B4X] BitmapsAsync - Erel    Feb 28, 2023   (30 reactions) , similar to LoadBitmapSample (not LoadBitmapResize). The best way to work with such images is by setting the ImageView gravity to Fill and resizing the ImageView based on the bitmap size. See the attached... the app responsive while loading many images. It is specifically built to work with HttpJobs. It has... it is displayed with the correct size. - The example shows two ways to resize the ImageView. In both.../threads/b4x-simplemediamanager-smm-framework-for-images-videos-and-more.134716/#content A cross... B4A Library [B4X] [XUI] AS TextFieldAdvanced - Title, Information, Counter, Password, Button, Prefix, Suffix, Icons, Multiline - Alexander Stolte    Aug 25, 2025   (63 reactions) Initializes the fields to their default value. AS_TextFieldAdvanced Events: ButtonClick... Always retuns True in B4J FontToBitmap (text As String, IsMaterialIcons As Boolean, FontSize As Float, color As Int) As B4XBitmap https://www.b4x.com/android/forum/threads/fontawesome-to-bitmap.95155... BugFixes Add "Multiline" to the designer property "Mode" New Multiline mode 1.08 Multiline BugFixes 1.09 Add Focus - Sets input focus 1.10 BugFixes get Reveale is renamed to... B4A Library [B4X] HugeImageView - show very large images - Erel    Mar 12, 2025   (42 reactions) Q: I want to load a 10,000 x 10,000 image? A: That's impossible!!! The memory required is: width * height * 4 = 400MB. A: You will need to scale down the image. A: Sure. Use HugeImageView: 579719086 (image source: https://images4.alphacoders.com/655/655004.jpg) How does it work? It uses two...). I've tested it with a 40,000x20,000 image and it worked (such image requires 3GB of RAM to fully load... - Fixes an issue related to image vs. device orientation (https://www.b4x.com/android/forum/threads... B4J Question How to add image/logo at center of a Qr code - microbox    Mar 17, 2021 .Initialize(ImageView1.Width) BmpQR = qr.Create("B4X QR Generator!!!") logo = xui.LoadBitmapResize(File.DirAssets,"c2.png",250,250,False) ImageView1.SetBitmap(BmpQR) ImageView2.SetBitmap(CreateRoundBitmap(logo,200)) End Sub The code above simply generates the qrcode( left) and displays an image/logo(right). 109919 I would like to resize the image so that the qrcode will be still readable and place at center. And is it possible to change the color... Page: 1   2   3   4   5   6   7   |