源码及demo: https://github.com/killallspree/myFrame/ 转载于:https://www.cnblogs.com/killallspree/p/4191648.html