Lynx
Search Docs
K
Guide
APIs
Blog
Contribute
简体中文
English
Guide
APIs
Blog
Contribute
简体中文
English
Menu
ON THIS PAGE
How to Build a Linear Layout?
Step 1: Apply
display: linear
Step 2: Set the Layout Direction
Step 3: Align Children Along the Main Axis
Step 4: Align Children Along the Cross Axis
Step 5: Specify Dynamic Sizes Along the Main Axis
Reference
ON THIS PAGE
How to Build a Linear Layout?
Step 1: Apply
display: linear
Step 2: Set the Layout Direction
Step 3: Align Children Along the Main Axis
Step 4: Align Children Along the Cross Axis
Step 5: Specify Dynamic Sizes Along the Main Axis
Reference
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.