After migrating to Android Studio 3.2, API 28, I am getting the following error on my app\'s layout:
The layout in layout has no declaration in the base lay
What worked for me is to remove the id attribute
android:id="@+id/[id same as filename]"
from the layout resource.