出现这种情况原因是在 Android 5.0 以下的编译环境(build.gradle 中 compileSdkVersion 小于21)中 引用了’com.android.support.constraint:constraint-layout:1.1.3’ 造成的。 elevation 属性是在 Android 5.0 以上 加入的。
出现这种情况原因是在 Android 5.0 以下的编译环境(build.gradle 中 compileSdkVersion 小于21)中 引用了’com.android.support.constraint:constraint-layout:1.1.3’ 造成的。 elevation 属性是在 Android 5.0 以上 加入的。