microsoft / surface-duo-sdk

Set of libraries that help you to build dual screen experiences for Microsoft Surface Duo
https://learn.microsoft.com/dual-screen/android/
MIT License
75 stars 17 forks source link

[FoldableLayout] Remove FoldingFeature representation that the component renders. #79

Closed CesarValiente closed 2 years ago

CesarValiente commented 2 years ago

Currently FoldableLayout component draws the representation of the emulator/device's FoldingFeature`.

E.g. when you run the FoldableLayout sample in a Surface Duo device/emulator, you can see how there is a colored area that represents the physical hinge.

The FoldingFeaure representation shouldn't be drawn since it can collide with app's specific UI.