一种可以自由切换主题的动画显示方法及装置

Animation displaying method and device capable of freely switching themes

Abstract

The invention belongs to the field of Android software development and especially relates to an animation displaying method and device capable of freely switching themes. The method is characterized by customizing a control, setting the number of displayed rows as required (each row includes two columns one of which is in the screen of a cell phone and the other of which is outside the screen), and the in-screen animation and the out-screen animation of each row, defining a data setting method and a data switching method in the control with which data acquired from a network end can be set and the animations can be switched. The method and the device may randomly display rows of data, randomly set the animation and the animation time for the data. The data can be requested at a time and multiple requests are avoided.
本发明属于Android软件开发领域,尤其是涉及一种可以自由切换主题的动画显示方法及装置。本发明主要是自定义一个控件,根据需要可以设置显示几行(每一行有两列,一列在手机屏幕内,一列在屏幕外),以及和每一行的进屏动画和出屏动画,控件内部定义设置数据方法和切换方法,只需要这些方法就可以设置从网络端获取到的数据和实现换一换动画。本发明可以随意显示几行数据;随意为数据做动画及动画时间;并且数据能够一次性请求好,不必多次请求。

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)

    Title

Cited By (0)

    Publication numberPublication dateAssigneeTitle