I finally found the problem I have to set the background first before setting the padding. Setting the padding then setting the background doesn't work // does not work tv.setPadding(20, 20, 20, 20); tv.setBackgroundResource(R.drawable.border); // wo…
通过setAnimationInterval设置帧频时,发现在android下没有效果的 在Cocos2dxRenderer .java文件里面找到了onDrawFrame这个函数.里面有句注释 : FPS controlling algorithm is not accurate, and it will slow down FPS on some devices. So comment FPS controlling code. 这个函数里的大部分代码都被注释掉了 public void o…