Java 当我通过Google Play安装我的应用程序时,它';的主屏幕名称与';在应用程序菜单中
当我从Google Play安装我的应用程序时,它会出现在我的主屏幕上,它的“标签”是Java 当我通过Google Play安装我的应用程序时,它';的主屏幕名称与';在应用程序菜单中,java,android,xml,android-intent,manifest,Java,Android,Xml,Android Intent,Manifest,当我从Google Play安装我的应用程序时,它会出现在我的主屏幕上,它的“标签”是@string/标语的值,但在应用程序菜单中,它是@string/app\u name的值 minSdkVersion为14 我的舱单: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.dabe
@string/标语
的值,但在应用程序菜单中,它是@string/app\u name
的值
minSdkVersion
为14
我的舱单:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dabestappsever.bigtext"
android:installLocation="auto">
<application
android:allowBackup="true"
android:theme="@android:style/Theme.Holo.Light.DarkActionBar"
android:icon="@drawable/logo">
<activity android:name="com.dabestappsever.bigtext.MainActivity"
android:label="@string/slogan">
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.dabestappsever.bigtext.Result"
android:theme="@android:style/Theme.Holo.Light.NoActionBar">
</activity>
</application>
</manifest>
解决方案,但我想知道是否有一种方法可以在没有Java的情况下解决这个问题。在AndroidManifest.xml中的
标记中,您必须添加
<application
android:label="@string/slogan" >
其中@string/lamposon
指向字符串资源文件夹中的应用程序名称。这将显示在主屏幕上。您应该删除意图过滤器上的标签,该标签现在在启动器屏幕上显示为标签
<intent-filter android:label="@string/app_name">
并在AndroidManifest.xml中的
标记中提供一个
<application
android:name="@string/slogan"
android:allowBackup="true"
android:theme="@android:style/Theme.Holo.Light.DarkActionBar"
android:icon="@drawable/logo">
意图过滤器中指定的标签将覆盖父组件设置的标签。活动的标题将始终是您在活动的标签中设置的文本。现在,标语指向应用程序的标语。我希望标语出现在MainActivity