@Override
protected void dispatchDraw(Canvas canvas) {
width = getWidth();
height = getHeight();
mClipPath.reset();
if (position == ElasticDrawer.Position.LEFT) {
drawLeftMenu();
} else {
drawRightMenu();
}
canvas.save();
canvas.drawPath(mClipPath, mPaint);
canvas.clipPath(mClipPath, Region.Op.REPLACE);
super.dispatchDraw(canvas);
canvas.restore();
}
FlowingMenuLayout.java 文件源码
java
阅读 52
收藏 0
点赞 0
评论 0
项目:MyLife
作者:
评论列表
文章目录