Android Studio 2.2 Layout restriction Buttons are not visible

I recently went through tutorials on linking constraints (new in Android Studio 2.2). In the tutorials, they had buttons used to compose panel restrictions, but in my Android studio there are no buttons. See image below:

enter image description here

+5
source share
4 answers

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 enter image description here

Then, after updating the project, click on the layout, and all buttons will remain visible to work with restrictions.

+10
source

. n00b, , ( ), , , ContainerLayout ConstraintLayout.

ConstraintLayout , .

, , , , :

  • (A) , .
  • (B) ContainerLayout ConstraintLayout, ComponentTree. , , .
  • (C) , (, " " ), ConstraintLayout. , .

, , n00bs. , .

0

, ! - ( Reddit), , , , , .

enter image description here

0

, scrollview, . , .

0

Source: https://habr.com/ru/post/1655418/


All Articles