Kotlin Fundamentals: Layouts quiz

  1. Which of the following is a ViewGroup?

  2. A ScrollView is a ViewGroup that can contain any number of Views or ViewGroups as its children. True or false?

  3. For EditText views, it's not a good practice to provide hints because hints clutter the input field. True or false?

  4. Which one of the following statements is true about Buttons?

  5. In a ConstraintLayout, which of the following constraints are needed to position a view onscreen?

  6. The baseline constraint aligns the text baseline of a view to the text baseline of another view. True or false?

  7. Why would you want to use data binding instead of calls to findViewById()?