Skip to content

Commit

Permalink
chore(doc): update dimensions api notes
Browse files Browse the repository at this point in the history
  • Loading branch information
iPel authored and hippy-actions[bot] committed Nov 3, 2023
1 parent 061a604 commit 25516c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/hippy-react/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ AsyncStorage 是一个简单的、异步的、持久化的 Key-Value 存储系
`(target: 'window' | 'screen') => { height: number, width: number, scale: number, statusBarHeight, navigatorBarHeight }` Hippy Root View 尺寸或者屏幕尺寸。

> - target: 'window' | 'screen' - 指定丈量 Hippy Root View 或者屏幕尺寸。
> - Android 特别说明:因为历史遗留问题,screen 下的 statusBarHeight 是按实际像素算的,window 下经过修正已经是 dp 单位。
> - Android 特别说明:因为历史遗留问题,2.x 及以下版本的 screen 下的 statusBarHeight 是按物理像素算的,window 下经过修正已经是 dp 单位;3.0 及以上版本 screen 和 window 均为 dp 单位。
> - navigatorBarHeight: Android 底部 navigatorBar 高度;最低支持版本 2.3.4
---
Expand Down

0 comments on commit 25516c0

Please sign in to comment.