Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 2.2 Constraint Layout Buttons not visible

Recently I was going through the tutorials of constraint layout (new in Android Studio 2.2). In the tutorials they had buttons used for constraints layout on the bar but there are no buttons in my Android Studio. See image below:

enter image description here

like image 755
Ankush Kapoor Avatar asked Sep 22 '16 04:09

Ankush Kapoor


1 Answers

Add below-given dependencies in build.gradle(app)

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')

    compile 'com.android.support.constraint:constraint-layout:1.0.0-beta5'

}

Please do as shown below in your layout enter image description here

Then after refreshing the project, click on the layout and all buttons will remain visible for yourself to work upon constraints.

like image 152
Rissmon Suresh Avatar answered Sep 29 '22 08:09

Rissmon Suresh