Build a basic layout

  1. Which of the following elements is considered a View in an Android app?
  2. What is the main purpose of a ViewGroup?
  3. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    The type of ViewGroup that helps you arrange the views inside of it in a flexible way is called a ___.

  4. Which of the following are Attributes in Android?

    Choose as many answers as you see fit.

  5. Fill-in-the-blanks

    Enter one or more words to complete the sentence.

    In Android, a graphic that can be drawn to the screen is generally referred to as a ___.

  6. Which of the following is an example of a “constraint” that could be applied to a view in a ConstraintLayout ViewGroup in the Layout Editor?

    Choose as many answers as you see fit.

  7. What is the purpose of an XML file?
  8. Why should you use string resources instead of hard-coded strings in your apps?

    Choose as many answers as you see fit.