This gives you the advantage of an improved rendering path and configurable input options. Once this works, we recommend that you keep track of things and migrate the user interface of your application to use interfaces.
Move to interfaces.
If you used to design your user interface with views and text in space, where everything was measured in meters, you’ll find surfaces that make it easier to work with. They allow you to think in pixels and simplify the process of designing content around the user. For example, surfaces and their content are always user-centric, so you don’t have to think about rotations in space.
Currently, surfaces are implemented at a fixed distance of four meters with an initial pixel density to optimize clarity. The density can be adjusted, but it is recommended to use the standard for most situations.