What is the use of layouts in android?
Answer
A layout defines
the structure for a user interface in your app
, such as in an activity. All elements in the layout are built using a hierarchy of View and ViewGroup objects. A View usually draws something the user can see and interact with.
Answer
A layout defines
the structure for a user interface in your app
, such as in an activity. All elements in the layout are built using a hierarchy of View and ViewGroup objects. A View usually draws something the user can see and interact with.