Android 自定义ViewGroup实现弧形菜单
摘要:
1、直接继承ViewGroup类,onMeasure测量子控件,onLayout第一个子控件放在边角,其他的子控件根据弧度计算其位置来进行layout。2、动画效果:第一个按钮的旋转动画 RotateAnimation,其他的控件TranslateAnimation和RotateAnimation两... 阅读全文
posted @ 2015-08-04 17:44 2015xbx 阅读(1527) 评论(0) 推荐(0) 编辑