Patent attributes
In one implementation, a method of determining a visual appearance of a user interface (UI) element overlaid in an underlying physical environment is performed at a device. The method includes: obtaining environmental data corresponding to a physical environment; determining environmental characteristics of the physical environment based on the environmental data; in response to obtaining a request to display a UI element, determining whether a prominence-display value satisfies a prominence criterion; in response to determining that the prominence-display value satisfies the prominence criterion: modifying visual characteristics of the UI element based on the environmental characteristics of the physical environment, and displaying the UI element as an overlay on the physical environment, wherein the UI element includes the modified visual characteristics; and in response to determining that the prominence-display value for the UI element does not satisfy the prominence criterion, foregoing modifying the visual characteristics of the UI element.