Absolute arrangement - can't see button

Hi.

Very simple - I made a new app to test placing a button on top of an image wherever I want. I can't see the button.

I've searched topics here and seen "there is a display bug w. Absolute arrangement" - but I export this to an .apk and still can't see my button.

I also tried using a Canvas with an image sprite for a button, but the sprite in Designer is located differently than on my phone screen.

Thanks for you help.

PS- hope the image makes you smile.

CanvasTest.aia (593.1 KB)

Correct.

Ah, meaning in ANY view - phone as well?
So is it fair to say that Absolute Arrangement can't really be used at this time?

And if not, is it possible to use Canvas/Sprite?
See above.

Use the other arrangements to position your image.

You can also use a canvas and image sprite instead.

Thanks for your reply.
I don't see that as an option.

:rofl:
Sorry about that.
other arrangements - I get it now.
I've also noticed my keyboard doesn't have an "any key" to press. :sweat_smile:

This seems a lot more convenient.
The problem is, the screen in designer is about half the height as modern phone screens. I can only put buttons on the top half.

I can make screen one scroll, but not the canvas.

Put the canvas in a vertical scroll arrangement ?

That should work!

Thanks for your help and patience with my noob issues.

I'll work on that and be back...

So your question mark was sincere.
Not working for me. I can put an background image on the vertical scroll and it scrolls. But the canvas doesn't even show.
If I put the image on the canvas, it won't scroll.

  1. So I downloaded Fling It Mini Golf = MiniGolf_MIT.aia from the Tutorial section.
    This is made by people who know what they are doing.
    It's a basic canvas with Sprites and Balls.
    Well, the components are still all over the screen. On my PC the hole is near the golf ball. On my Phone, it's 5x's farther away. etc.

I thought people were making games with this. I must be missing something?

Or did an update break something?

Try this:

vsaCanvas.aia (37.8 KB)

Canvas with imageSprite in the centre, inside VSA.

Scrolls up and down.

1 Like

That did it! The key is that you set the Height to a certain fixed amount, which in the Designer is off the screen. That makes it scroll.

I ended up deleting the VSA and make Screen1 = scrollable.
It doesn't scroll on the phone, but it scrolls in the Designer, so I can place my buttons.
It still makes the screen longer, which I needed.
I still need to set the Canvas Height to a certain fixed amount, which you showed me.

Thank you for persevering with me. I figured it Ai2 could do it, but I don't know if I ever would have found the solution.