类似于这张图就行了 搞了两小时还是有问题!!
用gridlayout直接就可以做了。
http://blog.csdn.net/nupt123456789/article/details/7832443
http://www.jb51.net/article/46550.htm