Android UI - Review Questions
What is the highest-level class of any UI in Android? Which UI elements inherit from the View class? What does a layout define in Android UI? What is the purpose of a Constraint Layout ? What are the common attributes used in a Constraint Layout ? How does a Linear Layout arrange child views? Can a Linear Layout be a child of a Constraint Layout ? How are widgets positioned in a Relative Layout ? What alignment options does a Relative Layout support? How does a Table Layout arrange its child views? What elements does a Table Layout consist of? What is the purpose of a Frame Layout ? Answers The highest-level class of any UI in Android is View . UI elements like Button , TextView , and other components inherit from View . A layout defines the visual structure of the UI. A Constraint Layout positions views relative to othe...