Check patentability & draft patents in minutes with Patsnap Eureka AI!

Character display method and device in Android system

An Android system and character display technology, applied in the computer field, can solve problems such as the inability to meet the diverse needs of applications, and achieve the effect of enhancing the three-dimensional effect

Active Publication Date: 2020-07-31
WUHAN DOUYU NETWORK TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a character display method and device in the Android system, which is used to solve the technical problem that the character display method of the Android system in the prior art cannot meet the diversified requirements of applications

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
  • Character display method and device in Android system
  • Character display method and device in Android system
  • Character display method and device in Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] This embodiment provides a method for displaying characters in an Android system, please refer to figure 1 ,Such as figure 1 As shown, the method includes:

[0044] Step S101, when a character needs to be displayed, it is judged whether an animation collection class is set in the preset character display control;

[0045] Step S102, when it is determined that the animation set class is set, use the animation effect in the animation set class to dynamically display the characters;

[0046] Step S103, when it is determined that the animation set class is not set, drawing a shadow character according to the character; displaying the shadow character, and displaying the character on the shadow character.

[0047] It should be noted that the method provided in this application is applicable to the Android system or other systems developed based on the Android system.

[0048] In the embodiment of the present application, the characters may be Chinese characters, English l...

Embodiment 2

[0070] This embodiment provides a method for displaying characters in an Android system, please refer to figure 2 ,Such as figure 2 As shown, the method includes:

[0071] Step S201, when a character needs to be displayed, obtain the character shape information and character color information of the character through the AttributeSet variable;

[0072] Step S202, drawing a shaded character according to the character shape information and the character color information;

[0073] Step S203, displaying the shaded characters, and displaying the characters on the shaded characters.

[0074] In the embodiment of the present application, the characters may be Chinese characters, English letters, numbers or symbols, etc., which are not limited here.

[0075] Combine below figure 2 , to introduce the character display method provided in Embodiment 2 of the present application in detail.

[0076] First, step S201 is executed, and when a character needs to be displayed, the char...

Embodiment 3

[0107] In this embodiment, a method for displaying characters in an Android system is provided, please refer to image 3 ,Such as image 3 As shown, the method includes:

[0108] Step S301, when a character needs to be displayed, initialize the preset animation collection class in the character display control;

[0109] Step S302, enabling the pre-added animation effects in the animation collection class, so as to dynamically display the characters based on the animation effects.

[0110] In the embodiment of the present application, the characters may be Chinese characters, English letters, numbers or symbols, etc., which are not limited here.

[0111] Combine below image 3 , to introduce the character display method provided in Embodiment 3 of the present application in detail.

[0112] Firstly, step S301 is executed, when a character needs to be displayed, the animation collection class in the preset character display control is initialized.

[0113] In the embodiment...

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 method and a device of displaying characters in Android, wherein the method of displaying the characters in Android comprises: a preset character display is judged for whether being provided with animation collection classes or not, when characters are needed displaying. When the animation collection classes are provided for sure, the characters are displayed by utilizing animations in the animation collection classes. When the animation collection classes are not provided for sure, the shadow characters can be drawn by the characters. The shadow characters are displayed on which the characters are put. The method and the device of displaying the characters in Android can resolve the technical problem in prior art ofbeing incapable of satisfying applying diversified demands in the method of displaying characters, and achieve the technical effects of satisfying applying diversified displaying demands to characters.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for displaying characters in an Android system. Background technique [0002] Currently, in the Android development process, the TextView control is usually used to display text and other character information. The default character display interface provided by the Android system is relatively simple, and can only achieve the effect of displaying characters. [0003] However, with the development of various applications, simple character display can no longer meet the needs of current application developers to improve user experience, meet user's individual needs or highlight the display effect of characters. [0004] It can be seen that the character display method of the Android system in the prior art has the technical problem that it cannot meet the diversified requirements of applications. Contents of the invention [0005] The present invention pro...

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 Patents(China)
IPC IPC(8): G06F9/451
CPCG06F9/451
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More