Hello,
While I'm rewriting some app(s) to be compliant with google's requirement I always take the benefit to make it as much Xui based as possible.
When I look at images I used the loadbitmapsample for Android and the loadbitmapresize for IOS.
(IOS didn't have the resample one back then, not sure if it already exists)
using the regular loadbitmap resize for both makes it easier (less code lines) as the conditional code is not needed.
while the Xui lib also has the xui.loadbitmap resize I could go for that aswell.
Is there any benefit to use the Xui load bitmap resize? or is using the non xui. method exactly the same?
I also wondered what the difference is for Android memory wise compared to resample.
what if my image is 32x32 and it displays as 128x128?
will resample stay with a 32x32 and resize create a 128x128 image in memory since it's focus is a default center gravity?
Would it still be better to use the resample with fill gravity?
Can we also have a Xui sub forum to ask Xui specific questions? I always doubt where I should put it (B4A,B4i,B4J or the games one)
While I'm rewriting some app(s) to be compliant with google's requirement I always take the benefit to make it as much Xui based as possible.
When I look at images I used the loadbitmapsample for Android and the loadbitmapresize for IOS.
(IOS didn't have the resample one back then, not sure if it already exists)
using the regular loadbitmap resize for both makes it easier (less code lines) as the conditional code is not needed.
while the Xui lib also has the xui.loadbitmap resize I could go for that aswell.
Is there any benefit to use the Xui load bitmap resize? or is using the non xui. method exactly the same?
I also wondered what the difference is for Android memory wise compared to resample.
what if my image is 32x32 and it displays as 128x128?
will resample stay with a 32x32 and resize create a 128x128 image in memory since it's focus is a default center gravity?
Would it still be better to use the resample with fill gravity?
Can we also have a Xui sub forum to ask Xui specific questions? I always doubt where I should put it (B4A,B4i,B4J or the games one)