In ConstraintLayout every view needs at least:
- A weight
- Four margins
- One horizontal and one vertical constraint
- An ID only
Answer
C) One horizontal and one vertical constraint
Without both constraints the view jumps to the top-left at run time.
Computer Science MCQ · More Screen Components and Orientation MCQs · Practise