开发者

Android (complex) Calendar Layout

I wrote a calendar app and I'm now rethinking how to display the items. I don't want to use a simple table layout anymore because the different tasks have开发者_高级运维 different durations.

What options are there to create a Layout like this instead of this?

I think drawing is no option respect to performance? I would also like to use xclicklisteners...


I did something extremely similar to what you want by creating my own view type (extended the View class, and handled my own drawing). Performance is excellent as this is not typically data that is rapidly changing while the view is active (like a video game might).

It's also very simple to support all the usual (or custom) listeners for navigation, selection, touch, etc., etc., etc.

Food for thought.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜