0% found this document useful (0 votes)
16 views

Lecture 5 Layouts

Uploaded by

zartasha574
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Lecture 5 Layouts

Uploaded by

zartasha574
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

5.

Layouts

This work is licensed under the


Android Development with Kotlin Apache 2 license. 1
v1.0
Linear Layout

This work is licensed under the


Android Development with Kotlin Apache 2 license. 2
This work is licensed under the
Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
Absolute Layout

This work is licensed under the


Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
Relative Layout

This work is licensed under the


Android Development with Kotlin Apache 2 license.
The Relative Layout is used to arrange the Child Views in a proper order which
means arranging the child objects relative to each other.

There are so many properties that are supported by relative layouts. some of
the most used properties are listed below
• layout_alignParentTop
• layout_alignParentBottom
• layout_alignParentRight
• layout_alignParentLeft
• layout_centerHorozontal
• layout_centerVertical
• layout_above
• layout_below

This work is licensed under the


Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.
This work is licensed under the
Android Development with Kotlin Apache 2 license.

You might also like