命名我的Andr​​oid应用程序 [英] Naming my application in android

查看:120
本文介绍了命名我的Andr​​oid应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我觉得我越来越衰老,因为我相信,给一个名称,你的应用程序,你必须填补这部分明显的:

I think I'm getting senile because I was convinced that to give a name to your application, you had to fill this part of the manifest:

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

不过是有原因的,我不明白,我的申请得到我的第一个活动的名字,我在其中加载数据,因此,它被称为加载,定义在清单如下:

However for a reason I don't understand, my application gets the name of my first activity, in which I load data, thus, it is called "Loading", defined as follows in the manifest:

<activity android:name="AccueilSplash" android:label="Loading">

                

任何想法,这是为什么?

Any idea why that is?

推荐答案

启动器实际显示安卓标签安卓图标的活动(IES)的声明

The launcher actually shows android:label and android:icon for activity(ies) that declare

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

这样,应用程序标签是没有用的。

so application label is of no use.

这篇关于命名我的Andr​​oid应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆