skip to Main Content

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.

2

Answers


  1. Spelling mistake:

    layout_constraintstop_totopof=""
    instead of layout_constraintTop_toTopOf=""

    Login or Signup to reply.
  2. 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.

    layout_constraintTop_toTopOf=""
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search