User Interface

Layouts :

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. Whereas a ViewGroup is an invisible container that defines the layout structure for View and other ViewGroup objects,

XML files are used to define the layouts of the activities.




There are many type of layouts as given below:

  1. Linear Layout
  2. Constraint Layout
  3. Relative Layout
  4. Table Layout
  5. Absolute Layout
  6. Frame Layout

Comments

Popular posts from this blog

Flutter : Introduction

Dart: Functions

Firebase Cloud Messaging