This quiz will test your knowledge of ConstraintLayout, the Android Studio Layout Editor, and various tools used for designing responsive and adaptive user interfaces in Android applications. You will answer questions about adding constraints, using the Layout Inspector, creating chains, managing ratios, and optimizing UI layouts.
1.
What file format is used for defining UI layouts in Android Studio?
2.
What is the purpose of the 'match_constraint' setting?
3.
Which of the following best describes a ConstraintLayout chain?
4.
What type of constraint should be used to position a TextView relative to another view's text baseline?
5.
Which tool allows developers to inspect UI elements in 3D?
6.
Which menu option is used to inspect the view hierarchy of a running app?
7.
What is the purpose of the Attributes panel in the Layout Editor?
8.
How can a developer add an image to an ImageView in the Layout Editor?
9.
What does turning off the Autoconnect feature in the Layout Editor do?
10.
Which layout is used by default when creating a new UI in Android Studio?
11.
Which view component is used to display images in an Android UI?
12.
Which ConstraintLayout feature helps maintain proportional aspect ratios?
13.
What does the Layout Inspector tool help with?
14.
How can an ImageView be resized dynamically to fit constraints?
15.
What is the primary purpose of the Android Studio Layout Editor tool?
16.
Which of the following is NOT a type of constraint available in ConstraintLayout?
17.
Which tool can be used to preview UI layouts in different orientations?