Copyright © 2017, edureka and/or its affiliates. All rights reserved.
• Introduction to UI components
• Views
• Types of Layouts
www.edureka.co/android
• Units of measurement
• Demo
www.edureka.co/android
www.edureka.co/python
www.edureka.co/android
➢ Structured layout objects
➢ UI controls
Main Action Bar
View Control
Content Area
Split Action Bar
www.edureka.co/android
A View is considered as a basic building block for a
proper user interface that is created from the View
class
www.edureka.co/android
www.edureka.co/python
A layout defines the structure of the UI of
your application. All elements All elements in
the layout are built using a hierarchy
of View and View Group objects
www.edureka.co/android
A file that contains different widgets to be used in the
UI and the relationship between those widgets and
their containers
www.edureka.co/android
www.edureka.co/android
Linear Layout
www.edureka.co/android
Absolute Layout
Relative Layout
Table Layout
Frame Layout
www.edureka.co/android
Linear Layout
You can create a table with rows
and columns and place elements
within them. In each row, you
can specify one or more
elements. You can use this
command <TableRow> to create
a new table layout.
Absolute Layout
The linear layout is used to
place one element on each
line. So, all the elements will
be placed in an orderly top-
to-bottom fashion
Table Layout
You can create a table with rows and
columns and place elements within them. In
each row, you can specify one or more
elements. You can use this command
<TableRow> to create a new table layout.
A Relative Layout is a ViewGroup
that displays child views in
relative positions. You can specify
the position of the elements in
relation to other elements, or in
relation to the parent container.
www.edureka.co/android
Relative Layout
To show one item on each
screen. Using the frame layout,
you can have multiple items. This
Frame Layout is a placeholder
on the screen that you can use
to display a single view.
Frame Layout
www.edureka.co/android
www.edureka.co/android
www.edureka.co/android
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
www.edureka.co
www.edureka.co/android

Android Layout Tutorial | Android UI Design Explained | Edureka