I am designing a UI from a tutorial online.
The code doesn’t underline any errors, the error pops up only when I try to build and test the app on my device.
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
Spelling mistake:
layout_constraintstop_totopof=""
instead of
layout_constraintTop_toTopOf=""
you need to use the right attribute sometimes android studio did not show you the suggestion therefore you need to know the lower and upper cases use in XML. Below is the code that will solve your problem.