Layer processing method and electronic equipment
The embodiment of the invention provides a layer processing method and electronic equipment. In the method, for a scene in which a single window is displayed in the middle under a parallel field of vision and a touch area of a window provided by an application is expanded, in response to an operatio...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a layer processing method and electronic equipment. In the method, for a scene in which a single window is displayed in the middle under a parallel field of vision and a touch area of a window provided by an application is expanded, in response to an operation of triggering to display a pop-up box, the electronic equipment can adjust the position of a dimmer layer after the dimmer layer is created, so that the dimmer layer is displayed in the middle. Compared with the scheme that only the left boundary of the dimmer layer is aligned with the left boundary of the touch area, the method has the advantages that deviation of the dimmer layer during display in the screen can be avoided, and the display effect is enhanced.
本申请实施例提供了图层处理方法和电子设备。在该方法中,针对平行视界下单窗口居中显示,且应用所提供窗口的触控区域被扩展的场景,响应于触发显示弹框的操作,电子设备在dimmer图层创建之后,会调整dimmer图层的位置,使得dimmer图层居中显示。相比于只将dimmer图层的左边界与触控区域的左边界对齐的方案,实施该方法,可以避免dimmer图层在屏幕中显示时发生偏移,增强显示效果。 |
---|