在AndroidManifest.xml中修改launcher的android:label <application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="Hello!!" > <!-- 修改为你想要的名字 -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="Hello!!" > <!-- 修改为你想要的名字 -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<resources> <string name="hello">图片左右自动和手动轮换测试</string>
<string name="app_name">图片轮换</string></resources>
laucher的名字就是app显示的名字,你试下就知道了。
laucher的名字就是app显示的名字,你试下就知道了。
我知道改哪个能改app名字,我想问为什么改上面那个application里的android:label不能改app名字
laucher的名字就是app显示的名字,你试下就知道了。
我知道改哪个能改app名字,我想问为什么改上面那个application里的android:label不能改app名字
application的android:label是应用程序管理器界面里显示的app的名字,对于一个app来说只有一个名字;而activity可以有多个,每个都可以有各自的名字,虽然launcher只能有一个。
如果你还要追问为什么桌面上显示的是luancher的名字而不是app的名字,我只能说android的规则就是这样。
laucher的名字就是app显示的名字,你试下就知道了。
我知道改哪个能改app名字,我想问为什么改上面那个application里的android:label不能改app名字
application的android:label是应用程序管理器界面里显示的app的名字,对于一个app来说只有一个名字;而activity可以有多个,每个都可以有各自的名字,虽然launcher只能有一个。
如果你还要追问为什么桌面上显示的是luancher的名字而不是app的名字,我只能说android的规则就是这样。
如果有很多个activity那会怎么显示
laucher的名字就是app显示的名字,你试下就知道了。
我知道改哪个能改app名字,我想问为什么改上面那个application里的android:label不能改app名字
application的android:label是应用程序管理器界面里显示的app的名字,对于一个app来说只有一个名字;而activity可以有多个,每个都可以有各自的名字,虽然launcher只能有一个。
如果你还要追问为什么桌面上显示的是luancher的名字而不是app的名字,我只能说android的规则就是这样。
如果有很多个activity那会怎么显示
activity可以有很多个,launcher只有一个。桌面上显示的就是launcher的名字。