[英]How do I specify my app's home-screen icon caption?
I developed an Android scientific calculator with Delphi XE5 and when I tested it on my Samsung Galaxy Advance (Android 2.3.0) I always see "Project1" as file name. 我用Delphi XE5开发了一个Android科学计算器,当我在三星Galaxy Advance(Android 2.3.0)上测试时,我总是看到“Project1”作为文件名。 Here is a picture:
这是一张图片:
.
。
I want to change this name to "Risolutore Equazioni." 我想把这个名字改为“Risolutore Equazioni”。 How could I do it?
我怎么能这样做?
I changed the label
on the Android manifest xml but nothing happened. 我更改了Android清单xml上的
label
但没有任何反应。
you have to change it in the manifest (label), use a string resource. 你必须在清单(标签)中更改它,使用字符串资源。 Since you said you already did that.. try changing the string "app_name" to the name you want.
既然你说你已经这样做了..尝试将字符串“app_name”更改为你想要的名字。
Or if it's ready to be exported export as APK and name it when exporting. 或者,如果它已准备好导出为APK导出并在导出时命名。 That's how you'll do to get into the market anyways.
无论如何,这都是你进入市场的方法。
I fixed my problem by editing the label name in the project options. 我通过编辑项目选项中的标签名称来修复我的问题。
You can rename the project by right-clicking on the Project name int he Project Manager, and selecting "Rename" from the context menu. 您可以通过在项目管理器中右键单击项目名称,然后从上下文菜单中选择“重命名”来重命名项目。
That will rename the project in Android (as in the screenshot above) and also rename the project files, including the .dproj and .dpr files. 这将在Android中重命名项目(如上面的屏幕截图所示),并重命名项目文件,包括.dproj和.dpr文件。 It will produce a new .res file, and also appears to produce .deployproj and AndroidManifest.template.xml files.
它将生成一个新的.res文件,并且似乎也会生成.deployproj和AndroidManifest.template.xml文件。
Don't use this option unless you intend to really rename your whole project. 除非您打算重命名整个项目,否则请勿使用此选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.