Method and device for inserting picture around character and electronic equipment

The embodiment of the invention discloses a method and a device for inserting pictures around characters and electronic equipment, relates to the technical field of computer application and development, and is designed for controlling the size of a displayed picture and effectively enhancing the coo...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LIAO YANWEN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a method and a device for inserting pictures around characters and electronic equipment, relates to the technical field of computer application and development, and is designed for controlling the size of a displayed picture and effectively enhancing the coordination of image-text display. The method for inserting the picture around the character comprisesthe following steps: reading an original picture; analyzing a layout file, and obtaining a picture target size set in a to-be-displayed component in the layout file; Adjusting the original picture according to the picture target size to obtain an adjusted picture; wherein the size of the adjusted picture is consistent with the target size of the picture; and displaying the to-be-displayed component, and displaying the adjusted picture around the characters. The method and the device can be applied to Android UI interface development. 本发明实施例公开一种在文字周围插入图片的方法、装置及电子设备,涉及计算机应用开发技术领域,为可控制所显示图片的尺寸,有效增强图文显示的协调性而设计。所述在文字周围插入图