Screen size edge problem


Hi guys, i’ve been experimenting with my app but i cant figur out how to automatically scale the edges to fit all mobile screen sizes.
Any help to find on this subject?