Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text box and text display method

A display method and text box technology, applied in the field of text processing, can solve problems such as limited displayable area, poor user experience, and inability to display all text, and achieve a good user experience effect

Inactive Publication Date: 2012-05-02
HONG FU JIN PRECISION IND (SHENZHEN) CO LTD +1
View PDF0 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This situation often occurs on mobile terminals using the Android platform, especially in widget (Widget) applications, because the displayable area is very limited, and the text usually cannot be fully displayed in the display area of ​​the widget
The text block is automatically truncated, but there is no clear sign or notification to let the user know that the text is truncated, which is not a good user experience for the user

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text box and text display method
  • Text box and text display method
  • Text box and text display method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] see figure 1 , schematically shows a functional block diagram of a text box according to an embodiment of the present invention. The text box is applied in an Android platform terminal and includes a text setting module 10 , a displayable text calculation module 20 , a character replacement module 30 and a text display module 40 . The text setting module 10 is connected to the displayable text calculation module 20 , the displayable text calculation module 20 is connected to the character replacement module 30 , and the character replacement module 30 is connected to the text display module 40 .

[0025] The text setting module 10 is used to set the height and width of the text display area and the font size of the text to be displayed in the text display area. The object text to be displayed in the text box is called the original text, which is a plain text character without any format information, and to display the original text in the text box, you need to specify ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a text box applied to an Android platform terminal. The text box comprises a text setting module, a displayable text computing module, a character replacing module and a text display module, wherein the text setting module is used for setting the height and width of a text display area and the font size of a to-be-displayed text; the displayable text computing module is used for computing a displayable text of the text display area; the character replacing module is used for judging whether the number of characters of the displayable text is less than that of an original text, if so, an end character of the last line of the displayable text is replaced with a marker character; and the text display module is used for displaying the displayable text to the text display area. The invention also discloses a text display method applied to an Android platform terminal. According to the technical scheme of the invention, when an original text can not be completely displayed, a user can know that an undisplayed part of the text is removed more conveniently and intuitively.

Description

technical field [0001] The invention relates to the technical field of text processing, in particular to a text box applied to an Android platform terminal and a text display method. Background technique [0002] The text box (Text view) is an important view component in the Android platform, which is used to display text on the screen, and is widely used in various applications on the Android platform. In the current Android platform, when the text box cannot display all the specified text due to its own size limitation, it will automatically cut off the text that cannot be displayed, and only display the maximum number of text characters it can display. This situation often occurs on mobile terminals using the Android platform, especially in widget (Widget) applications, because the displayable area is very limited, and the text usually cannot be completely displayed in the display area of ​​the widget. Text blocks are automatically truncated, but there is no clear sign o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/21
Inventor 蔡灯宇
Owner HONG FU JIN PRECISION IND (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products