Android introduced new Constraint Layout which is better than other view in Design View. This design is closely related to iOS’s Constraint Layout. Constraint Layout provide better support for Drag and Drop views. Drag and drop feature is already available in Relative Layout, but Relative Layout doesn’t provide better responsive view. So this problem will be fixed in Constraint Layout which will provide accurate and responsive design. And Constraint Layout will support android 2.3 and above version of android.
You will able to us3 this new Constraint Layout in Android Studio 2.2 preview and higher version of android Studio. If you are still using old version of android Studio, then it is recommended to download Android Studio 2.2 preview version. You can’t update from old version to android Studio 2.2 preview version. You need to download full package du3 to some bug fix and platform changes. And you also need to update android support library.
In Android SDK there is also a Constraint Layout package available so download that package to make your IDE fully supported with this new Constraint Layout feature of android.
But Constraint Layout is in alpha version so there will be some issues or bugs. And google doesn’t provide documentation for this new Constraint Layout they said that they are still doing some tests on this Constraint Layout and when this Layout will become stable then google will provide official documentation. You need to Add the Constraint Layout library as a dependency in your build.gradle file:
dependencies {compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha3'}
image-source: tools.android.com
Quick Links
Legal Stuff
Social Media