Add the below dependencies in the build.gradle (app) file
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta5'
}
Do as shown below in your layout 
Then, after updating the project, click on the layout, and all buttons will remain visible to work with restrictions.
source
share