Android Layouts: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
Created page with "=Introduction= View Hierarchy can be split into types types 600px"
 
Line 2: Line 2:
View Hierarchy can be split into types types
View Hierarchy can be split into types types
[[File:Android Layouts.png|600px]]
[[File:Android Layouts.png|600px]]
*Margin is the space around the widget
*Padding is the space within the widget
*Gravity is the position of the widget within the widget its self
*Layout Gravity is the position of the widget within its parent
Here shows the difference between layout_gravity and gravity.
[[Android Gravity.png|600px]]

Revision as of 05:47, 5 January 2021

Introduction

View Hierarchy can be split into types types

  • Margin is the space around the widget
  • Padding is the space within the widget
  • Gravity is the position of the widget within the widget its self
  • Layout Gravity is the position of the widget within its parent

Here shows the difference between layout_gravity and gravity. 600px