Constraint layout allows you to create responsive android UI, constraint layout offers responsiveness to the android device either small or large, and even when screen orientation has changed. In this tutorial, we shall focus on creating a responsive login page using constraintlayout.
If you prefer visual learning here is a video tutorial I have made explain the same concept of constraintlayout using a login page.
Within the tutorial, you will learn how to constrain one view to another or to the parent layout.
Most of the latest version of the android studio, when you create a new activity or a project you will notice the parent layout is constraint layout.
Instead of changing it to the linear or relative layout which most developers does, You can learn how to work with it and create a great responsive UI by simply checking the above constraint layout tutorial.
Another amazing feature of this layout is, you can easily drag and drop view. This means you can create a whole project by using an android visual editor.