The canvas which created in onCreate is not the canvas which the activity draw on.If you want draw the activity, you should draw it in View.onDraw or ViewGroup.dispatchDraw.
It means you should create a new class which extends ViewGroup or View.
It means you should create a new class which extends ViewGroup or View.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货