Hi @leslie_rivera,
Thanks for the extra info! 😊
The gallery now occupies all available space, but the controls within your gallery have hardcoded X values. When designing responsive Power Apps, you will have to provide dynamic X (Y, Width & Height) values and/or use horizontal / vertical containers - otherwise the control position will remain static regardless of your screen size.
Depending on the requirements (e.g. both mobile & desktop), responsive design can seem rather complex at first sight. I will provide a short overview below, but I would highly recommend watching some tutorials on YouTube or blog posts on responsive design. (e.g. Reza, Shane, Matthew...)
As an example: Should you want the arrow icon on the right-hand side, you could use the X property below.
//15 is used as an example margin
Parent.TemplateWidth - Self.Width - 15
The X property of the Edit icon could be:
//15 is used as a margin between both icons
//Change ViewIcon to the correct icon name
ViewIcon.X - Self.Width - 15
An example of a dynamic Width value would be the separator shape control:
//Instead of a hardcoded value in the Width property, use:
Parent.TemplateWidth
As a note: Should you want to create an app that remains the size of the Canvas (not responsive), you could enable 'Scale to fit' & 'Lock aspect ratio' in the app settings:

This would allow you to hardcode X, Y, Width and Height values. Please note that this would result in a fixed app screen size, which will not use all of the available screen height & width on a desktop screen nor be responsive on smaller devices.
I hope this helps!