I am making another wallpaper app. The wallpapers are links that I get from Airtable. I also use dynamic cards view. How can I fit the image to the container by filling it instead of changing the width and height of the image to the same as the container?
Thanks for all!
Try to set image height and width to 100%.
Set width and height to full parent.
Set the image scale picture to fit property to true.
Set the card view padding ( right , left,bottom,top ) to 0
Also you can see this guide:
Dynamic Image view
This guide represents two methods of building image views which you can view images in dynamically…It can be used with images stored on assets,phone or retrieved from database…
Note :While creating it doesn’t make any lag…
Important: if you use image paths then remove
@DevYB image loader extension and use set any image picture instead…
Tip:Click on the description word after each block…And you will find a complete description for each block…
Also you can try to set the width and height of the image and the width and height of the card to automatic.So they scale without getting stretched
While you are creating the images.Se those properties :
And while you are creating the card views set those properties:
But they are dynamic. How can I change the properities?
It’s an aia that I download, so I don’t know how to use it jejeje
Using any component methods.Something like that:
What is the problem?
You are trying to declare a property of a component that has not been created yet I think. Meaning there is no such ID created(null ID)
How can I fix it? Can I send you the aia and help me please?
I can’t open a dm to you
DM me please
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.