I'm trying to follow a playlist on YouTube by CodingInFlow for Android Studio development.
I'm trying to follow this video, but I'm having a problem... https://www.youtube.com/watch?v=-sPOtGqd5OA&list=PLrnPJCHvNZuBtcos16XJnfFx2fSUOyW_-&index=9
My design-screen is just showing as a gray box and I get the error that the "androidx.constraintlayout.ConstraintLayout (class couldn't be found)."
See code and example image here: 
In the videos he's not using AndroidX and his opening-tag is different to mine in his .xml files.
His opening tag for his .xml document: android.support.constraint.ConstraintLayout
My opening tag for my .xml document: androidx.constraintlayout.ConstraintLayout
How can I fix this so that the design will show up where the gray box currently is?
Thank you