Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人能告诉我这里的语法错误是什么吗?
@Override protected void onDraw(Canvas canvas) { canvas.drawBitmap(titleGraphic, (0, 0, null); }
我收到我在“titleGraphic”之后的逗号主题行中输入的错误消息。我想我在“null”之后错过了另一个“)”,但逗号给我带来了麻烦。这就是我尝试从书中得到的东西。
你有一个额外的父母:
canvas.drawBitmap(titleGraphic, (0, 0, null); ^