There is something wrong with the AppBarLayout
.
UPDATE: This is a new error. The XML view preview doesn\'t show anything. The normal Design
I had the same issue it seems some problem with the alpha material library
I downgraded the material library dependency in the build.gradle
to implementation 'com.google.android.material:material:1.0.0'
then invalidated the cache and restarted the studio from
File -> Invalidate Caches / Restart...
It worked.