Despite the fact that it is very old, I will give two cents for it.
In my case, I had a custom view that inherits the class RecyclerViewin the library project, but could not access it from the project's layout file.
It turned out that I needed to add a dependency of the type of recirculator (or com.android.support:design) to the Gradle project, even if it was included in the library.
source
share