Lazarus
Programming => Operating Systems => Android => Topic started by: r.lukasiak on December 03, 2021, 11:49:41 am
-
Hi everyone!
I'm trying to add images to jScrollView but all of them appear at the same position, how can I set desired position or make them appear one under another? I was checking the demos but there is nothing for jScrollView.
thanks in advance!
-
I was checking the demos but there is nothing for jScrollView.
What about demo "AppScrollingImages"?
-
I saw it but it's for jHoizontallScrollView, right? and I need it to be vertical. However, I took a look into this again and I noticed something I missed, I didn't set the inner layout, now I set ilLinear and it behaves as needed, thanks!.
Is there any way to align the objects to the left or right, I need some of them to be aligned to the left and some to the right. And if it were possible the first object to appear at the bottom of jScrollView, it'd be just perfect.
Sorry for so many questions :D I'm just discovering this "Android stuff" and it's pretty amazing, I'm just a bit lost since some components work a bit differently to what I'm used to.
Thanks in advance for all your help!
-
I saw it but it's for jHoizontallScrollView, right?
No. It will work in jScrollView, too!
Is there any way to align the objects to the left or right, I need some of them to be aligned to the left and some to the right.
No. You need draw you "perfect" image "like a chat" in jDrawingView before add it to jScrollView.
And if it were possible the first object to appear at the bottom of jScrollView
Yes! There are some other AddImage methods "overload"