JaviR3TicS
(El Mundo Musical )
August 28, 2020, 10:55am
#1
Hi koders!
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!
Original image:
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
Description
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…
Method1:
(Recommen…
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:
1 Like
JaviR3TicS
(El Mundo Musical )
August 28, 2020, 11:20am
#9
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:
1 Like
Vaibhav
(Vaibhav)
August 28, 2020, 1:12pm
#12
JaviR3TicS:
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)
1 Like
JaviR3TicS
(El Mundo Musical )
August 28, 2020, 1:22pm
#13
How can I fix it? Can I send you the aia and help me please? @Mohamed_Tamer @Vaibhav
1 Like
JaviR3TicS
(El Mundo Musical )
August 28, 2020, 1:30pm
#15
I can’t open a dm to you
DM me please
1 Like
system
(system)
Closed
September 27, 2020, 1:30pm
#16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.