mCButton.layout(l, t, l + width, t + width);这个我觉得说的不对,
应该是(注意:最后一个参数)
mCButton.layout(l, t, l + width, t + height);
                应该是(注意:最后一个参数)
mCButton.layout(l, t, l + width, t + height);
                    
                    2016-08-16
                
            
                                最新回答 / Shorin_Chen
                                
                                                            在toggleMenu方法下有个 childView的点击事件 用来开启点击后的动画的里面有个if语句if (mMenuItemClickListener != null) {    mMenuItemClickListener.onClick(childView, pos);}menuItemAnim(pos - 1); 老师写的时候把这一句写进if里面了  你把它拿出到if外面就OK了
                            
                        
                        2016-06-26
                
            
                                已采纳回答 / mecury
                                
                                                            在onLayout中,画图的坐标你写的不对。老师这样写,只是对应特殊情况,你写错了其中一个位置。用下面的代码对应所有情况if (mPosition == Position.LEFT_BOTTOM){    ct = getMeasuredHeight() - cHeight - ct;}else if (mPosition == Position.RIGHT_TOP){    cl = getMeasuredWidth() - cWidth - cl;}else if (mPosition == Posi...
                            
                        
                        2016-06-14
                
            :app:transformClassesWithMultidexlistForDebug'.> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value 1
                
                    
                    2016-05-25