Adaptive label display method, related device, equipment and medium

A label display and self-adaptive technology, applied in the Internet field, can solve problems such as inability of users to view, incomplete display label text, poor user experience, etc., to achieve the effect of self-adaptive display

CN112115708APending Publication Date: 2020-12-22深圳市镜玩科技有限公司
0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2020-12-22

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses an adaptive label display method. The method comprises the steps of calculating a first length when a first label text is displayed in a first word size; judging whether the first length is greater than the display width of a display screen or not; if yes, analyzing whether the first label text can be displayed in a second word size or not according to thedisplay resolution of the display screen, wherein the second word size is smaller than the first word size, and the second length of the first label text displayed according to the second word size is smaller than the display width; and if it is analyzed that the first label text can be displayed in a second word size, displaying the first label text in the second word size. By implementing the invention, the technical problem of relatively poor user experience caused by incapability of viewing a part of users exceeding a screen due to incomplete label text display in the prior art can be well solved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of the Internet, and in particular to an adaptive label display method, an adaptive label display device, a terminal device, and a computer-readable storage medium. Background technique

[0002] With the rapid development of computer network computing, especially the development of mobile Internet, mobile Internet is gradually penetrating into various fields of people's life and work. As long as users install various application programs on electronic devices according to their own needs, they can complete various transactions.

[0003] On mobile terminals such as smart phones, some tags are often used to display some short words during the application development process. In the prior art, when the label text (or label text) is larger than the display width of the mobile phone screen, the general practice is to display the character string in an omitted manner.

[0004] For example, if a label t...

Examples

Embodiment Construction

[0063] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0064] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0065] It should also be understood that the terminology used in the specification of this a...