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")...
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...
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...
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 ---------...
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
NOTE: You can use this library for personal and commercial use. Include it in your projects.. Attention, even if it is a...
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 =...
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...
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...
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...
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...
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.