Android:以编程方式更改App Label

问题描述:

如何更改应用程序标签以更改android中java代码显示的应用程序名称?
我指的是:

How can I change application label to change app name shown from java code in android? I'm refering to:

<application android:icon="@drawable/icon" android:label="@string/app_name">

Android清单中的

in the Android Manifest

是否有有什么方法可以更新 strings.xml 文件中的值吗?

Is there any way to update values in strings.xml file?

目前还不可能。它是AndroidManifest.xml文件中的固定字符串,无法在运行时更改。

It's not possible by the moment. It is a fixed string in the AndroidManifest.xml file which cannot be changed at runtime.