开发者

Icon not showing up in 2.3.3?

In 2.2 there is a generic dialog icon (ic_dialog_generic). I used this in my program by accessing android.R.drawable.ic_dialog_generic. It shows up in 2.2, howe开发者_JS百科ver when I tested it on 2.3.3, nothing showed up.

So I copied the drawable to my project and accessed it by R.drawable.ic_dialog_generic. Once again, it shows up in 2.2 but it still does not show up in 2.3.3.

It seems there was a change with context menu styles? Any idea?


Duplicate question of Dialog icon missing in 2.3

Looking at the 2.3.3 source, this icon is definitely not there. This illustrates why they keep warning us to copy the built in images to our own projects.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜