我试图在画布中绘制位图,但在logact中遇到错误。java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.prova1/com.example.prova1.MoveBalloon}: java.lang.IllegalArgumentException: width and height must be > 0
09-22 16:41:03.171: E/AndroidRuntime(2696
我查看了该活动的.xml文件,以查找任何在运行时可能为0的内容,并替换了想到的所有内容(比如?attr/actionBarSize),但它没有改变任何东西。java.lang.IllegalArgumentException: width and height must be > 0(View.java:15215) at android.view.ViewGroup.drawChil