I am currently reviewing the ConstraintLayout tutorial and sticking to a specific step ( https://codelabs.developers.google.com/codelabs/constraint-layout/#10 ).
Source here ( https://github.com/googlecodelabs/constraint-layout ).
The instructions below add a vertical barrier, but I don't see the add option on the menu. In fact, all menu options look different. Where is the "Add Vertical Barrier" menu?
Right-click on ConstraintLayout in the project or the Tree component. You will see the “Add Vertical Barrier” and “Add Horizontal Barrier” options.
I am running Android 2.3.3.
build.gradle (module: application)
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "com.google.googleio"
minSdkVersion 22
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support.constraint:constraint-layout:1.1.0-beta1'
}

ethan source
share