开发者

about string format wrong

Multiple annotations found at this line: - error: Multiple substitutions specified in non-positional format; did you mean to add t开发者_开发问答he formatted="false" attribute? - error: Unexpected end tag string

when i use string like:You have %d appointment(s)\n..and %d task(s). my sdk2.2 .i donot know why appear this mistakes.


I think it should be
You have %1$d appointment(s)\n..and %2$d task(s)

Check this out
http://groups.google.com/group/android-developers/msg/3457068e42b4c8be

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜