Solution:
Just change @id
to @+id
while defining or referencing an id. This will fix your issue.
For me, I just changed
android:layout_below="@id/toolbar_layout"
to
android:layout_below="@+id/toolbar_layout"
Just change @id
to @+id
while defining or referencing an id. This will fix your issue.
For me, I just changed
android:layout_below="@id/toolbar_layout"
to
android:layout_below="@+id/toolbar_layout"