Android:以编程方式更改App Label [英] Android : Change App Label programmatically
本文介绍了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.
这篇关于Android:以编程方式更改App Label的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文