UI control background setting method and device and terminal
The embodiment of the invention discloses a UI control background setting method and device. The method comprises the steps of after a terminal wallpaper is updated, obtaining the fuzzy wallpaper obtained after the updated wallpaper is subjected to fuzzy processing; intercepting a wallpaper area blo...
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 discloses a UI control background setting method and device. The method comprises the steps of after a terminal wallpaper is updated, obtaining the fuzzy wallpaper obtained after the updated wallpaper is subjected to fuzzy processing; intercepting a wallpaper area block from the obtained fuzzy wallpaper according to the position of the UI control on the terminal screen; and setting the intercepted wallpaper area block as the background of the UI control. According to the embodiment of the invention, the background of the terminal UI control can be dynamically changed along with the change of the wallpaper, and the flexibility and variability of a background picture of the UI control are enhanced.
本发明实施例公开了一种UI控件背景设置方法及装置。其中,所述方法包括:当终端壁纸更新后,获取更新后的壁纸被模糊处理后的模糊壁纸;根据所述UI控件在所述终端屏幕上的位置,从获取的模糊壁纸上截取壁纸区域块;将截取的一壁纸区域块设置为所述UI控件的背景。本发明实施例,可使终端UI控件的背景随着壁纸的改变而动态改变,增强了UI控件背景画面的灵活性和可变性。 |
---|