-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add getOverflowInsetFrame to LayoutMetrics (#49197)
Summary: changelog: [internal] Adds new method to LayoutMetrics that calculates frame adjusted for overflow inset. For example, for the following view hierarchy. it would produce a frame that would fully contain view A and view B. ``` ┌─────────────┐ │<View A /> │ │ ┌───────┴─────┐ └─────┤<View B /> │ │ │ └─────────────┘ ``` See tests for more details Reviewed By: javache, lenaic Differential Revision: D68775683
- Loading branch information
1 parent
ec5bd77
commit 05357cc
Showing
2 changed files
with
298 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters