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   (48 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 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] 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] B4XPages + B4XDrawer - Erel    Sep 11, 2025   (29 reactions) B4XDrawer v1.53 adds support for B4J. This is a good opportunity to create a B4XPages example using...-simple-framework-for-managing-multiple-pages.118901/#content A drawer is added to the second page. Everything is implemented in the attached example. In the page where you want to add the drawer: Add to..., 32dip, 32dip, True) 'global B4XBitmap #if B4i Dim bb As BarButton bb.InitializeBitmap... iv As ImageView iv.Initialize("imgHamburger") iv.SetImage(HamburgerIcon) Drawer... B4J Tutorial Integrated B4JPackager11 - The simple way to distribute standalone UI apps - Erel    Feb 26, 2026   (50 reactions) -the-simplest-way-to-distribute-ui-apps.99835/#content The output of this tool looks like this: https://www.b4x.com/basic4android/images/explorer_fa8Z3lAQP3.png You need to distribute the executable... jWebSocketClient then you need to add: #PackagerProperty: AdditionalModuleInfoString = provides org.slf4j.spi... about 9mb to the built package. (Don't miss tip #6 if you need to add multiple modules.) Packaging...B4JPackager11 is a utility written in B4J that uses the underlying Java tools to create... 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... Page: 1   2   3   4   5   6   7   |