Auto adjusting layout

hello sir,My question is not related to this video but to layouts in general.I designed a layout for a 5 inch screen on android studio but when i run the app on my phone which has a 5.5 inch screen size my content gets dislocated from where i wanted it to be.
my question is is it possible to make auto adjusting layout for different screen sizes and if yes then how can i do it.
Thanks :slight_smile:

You can follow this SO link

Or this Medium Link(they both point to the same thing)

Hey Sanchit,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.