1.

What is a layout?

Answer»
  1. A layout defines the structure for a USER INTERFACE in an android app, such as in an activity.
  2. All ELEMENTS in the layout are built USING a hierarchy of View and ViewGroup OBJECTS.
  3. A View is visible and interact-able whereas a ViewGroup is an invisible container that defines the layout structure for View and other ViewGroup objects under it.


Discussion

No Comment Found

Related InterviewSolutions