Unable to make my UI independent of screen resolution

Hello Friends,

I am working in a project for mobile app and I am stuck at a point. I have to deploy that particular app in all possible mobile platform.

I am trying to fix the canvas scalar component but it does not help. The output in mobile and tab for android is different (same in iOS too). Also the UI elements changes the position with the device which is strictly not accepted. I am using pretty much the same UI elements like panels, images, buttons etc. I have gone through many tutorials and unity blogs but could not find things helpful according to my need.

Please help me and suggest some better way to solve the problem. I am posting this after my research and this is a genuine question. It will be a great help tome.

Thanks,

Are you using the anchors from the UI Gameobjects ? This will help to snap them in the same position whatever the resolution is.

Are you using anchors in your UI elements? It’s really usefull (link about anchors Redirect to... title of new-page)

You can also adjust resolutions via script. This might help you: Mobile device screen sizes - Unity Answers

hope i could help you.

Hello @sovan.k1

as @laharl219 says, you have to place anchor properly and manually.

This video may help you.