can't create a ConstraintLayout
I'm trying to make some changes on a project I'm working on, and one of them is changing some layouts from RelativeLayout to ConstraintLayout, the thing is that when I replace
"android.support.constraint.ConstraintLayout" or even when I try to create a new XML layout file using
"android.support.constraint.ConstraintLayout" android studio doesn't recognize it at all!!
Add this dependency in
And If you haven't migrated to gradle 4, use compile instead of implementation.
作者: Munir 发布者: 2017 年 12 月 27 日