MCQ King
Android Studio – 44 – ConstraintLayout in Android
1 / 25
1. What is ConstraintLayout in Android development?
2 / 25
2. What is the main advantage of using ConstraintLayout?
3 / 25
3. How does ConstraintLayout handle UI elements?
4 / 25
4. What are constraints in ConstraintLayout?
5 / 25
5. How can you add constraints to UI elements in ConstraintLayout?
6 / 25
6. What is the purpose of the Layout Editor in Android Studio for ConstraintLayout?
7 / 25
7. How can you add UI elements to ConstraintLayout in Android Studio?
8 / 25
8. What is the purpose of constraints’ chaining in ConstraintLayout?
9 / 25
9. How can you create a horizontal chain of UI elements in ConstraintLayout?
10 / 25
10. What does “match_constraint” (0dp) mean in ConstraintLayout?
11 / 25
11. What is the difference between “match_parent” and “0dp” (match_constraint) in ConstraintLayout?
12 / 25
12. What is the baseline constraint used for in ConstraintLayout?
13 / 25
13. How can you create a baseline constraint in ConstraintLayout?
14 / 25
14. What is the purpose of guidelines in ConstraintLayout?
15 / 25
15. How can you add horizontal guidelines to ConstraintLayout?
16 / 25
16. What is the benefit of using “bias” in ConstraintLayout?
17 / 25
17. How can you set the “bias” for a UI element in ConstraintLayout?
18 / 25
18. What is the purpose of ConstraintSet in ConstraintLayout?
19 / 25
19. How can you use ConstraintSet to change constraints at runtime?
20 / 25
20. What is the baseline-to-baseline constraint used for in ConstraintLayout?
21 / 25
21. How can you create a baseline-to-baseline constraint in ConstraintLayout?
22 / 25
22. What is the benefit of using ConstraintLayout guidelines over fixed positions?
23 / 25
23. What is the purpose of barriers in ConstraintLayout?
24 / 25
24. How can you create a barrier in ConstraintLayout?
25 / 25
25. What is the recommended layout for complex UI designs in Android?
Your score is
Restart quiz