Skip to content

Layouts in Core Modules

Alexander Vakrilov edited this page Feb 20, 2020 · 1 revision

The Basics

IOS

  1. Layout entry points: layoutView method called in viewDidLayoutSubviews for Page and UILayoutViewController
  2. Setting frames/transforms - _setNativeViewFrame
  3. Safe area - expandBeyondSafeArea and shrinkToSafeArea
  4. safeAreaInsets and additionalSafeAreaInsets

Android

  1. CommonLayoutParams

Bonus

  1. AbsoluteLayout Android
  2. AbsoluteLayout IOS
  3. ProxyViewContainer
Clone this wiki locally