开发者

Android SDK sample app question:

If you go into the standard Note pad accessory application, the first available note menu entry is going to be...

<untitled>

My question is this: Where is "<untitled>" coming from in the code? The code is in the NotePad sample in the SDK if you want to built a project from existing source real fast. I just can't find where "<untitled>" is spelled out anywhere in the source or resources.

(Else, is this instead some kind of ultra low level string that Android's API hands to the GUI if there's nothing specified for a title? W开发者_开发百科hich can't be changed?)


In the NotePadProvider.java appears that this string cames from android.R.string. To find that file you need to go here: SDKpath/platforms/version_you_are_programming/data/res/values. There is the string.xml file and that file is internal to the OS, I doubt you can change it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜