摘要 |
<p>Disclosed in the embodiments of the present invention is a method for displaying an instant message on a terminal and a terminal. The method comprises: the terminal receives a message sent by an instant message server and sets the position of the message on a TimeLine according to the length of the message; the terminal determines an offset of a current screen display coordinate according to the position of the message on the TimeLine and displays the corresponding message according to the current screen display coordinate after the offset. In the embodiments of the present invention, after the terminal receives the message sent by the instant message server, the message displayed on the screen is the same as the message displayed on the screen before the terminal receives a message from the instant message server, thus avoiding changing the displayed message on the screen when the terminal receives a new message.</p> |