meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| section:section-margins-page_and_object [2026/04/21 13:13] – doreps | section:section-margins-page_and_object [2026/05/10 18:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * Object | * Object | ||
| This guide explains how to use margins in both contexts. The term ' | This guide explains how to use margins in both contexts. The term ' | ||
| - | |||
| - | ===== Margin Dialog ===== | ||
| - | {{: | ||
| ===== Page Margins ===== | ===== Page Margins ===== | ||
| Line 14: | Line 11: | ||
| | | ||
| - | | + | |
| + | | ||
| + | <WRAP center round tip> | ||
| + | By default, the page will not scroll, even with negative margins that push content off-screen. To create a scrolling page, the 'Fit the content to the screen height' | ||
| + | </ | ||
| ===== Object Margins ===== | ===== Object Margins ===== | ||
| Line 21: | Line 22: | ||
| * a simple object or | * a simple object or | ||
| * a container object | * a container object | ||
| - | |||
| - | {{: | ||
| ==== Simple Objects (e.g., Icons, Text, Images) ==== | ==== Simple Objects (e.g., Icons, Text, Images) ==== | ||
| Line 37: | Line 36: | ||
| ===== Margin Dialog Controls ===== | ===== Margin Dialog Controls ===== | ||
| + | {{: | ||
| - | The dialog for adjusting margins is consistent for both Page and Object. | + | * **left, right, top, and bottom:** - Each value is adjusted separately for precise control. |
| - | + | * **Measurement Unit and Range:** | |
| - | * **left, right, top, and bottom:** - Each value is adjusted separately, allowing | + | * While not explicitly stated, the unit is best understood as **dip (density-independent pixel)**. This ensures layouts are consistent across Android devices with different screen sizes and resolutions. |
| - | * **Positive Numbers: | + | * The default setting is '' |
| - | * **Negative Numbers: | + | * **Positive Numbers: |
| - | * **Suggest: | + | * For a **Page or Container**, this shrinks the usable |
| + | * For a **Simple Object**, this pushes other objects further away. | ||
| + | * **Negative Numbers: | ||
| + | * For a **Page**, this pushes the content canvas off-screen, making it **partially or totally unviewable**. | ||
| + | * For a **Simple | ||
| + | * **Suggest: | ||
| * **OK:** - Tap to accept the margin numbers shown. | * **OK:** - Tap to accept the margin numbers shown. | ||
| - | ===== Related | + | ===== Related |
| - | + | ||
| - | While '' | + | |
| + | * **Item Spacing:** While ' | ||
| | | ||
| | | ||
| | | ||
| + | <WRAP center round tip> | ||
| + | <WRAP centeralign> | ||
| + | </ | ||
| + | </ | ||
| <WRAP noprint> | <WRAP noprint> | ||