首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >应用程序名称显示在哪里?安卓/ MonoAndroid

应用程序名称显示在哪里?安卓/ MonoAndroid
EN

Stack Overflow用户
提问于 2011-07-28 06:35:55
回答 2查看 407关注 0票数 1

我正在通过this tutorial ,我对这部分有点困惑

代码语言:javascript
复制
Inside the Resources/Values/ folder, open Strings.xml. This is where you should save all default text strings for your user interface. The default template for this file starts with two strings, hello and app_name. Revise hello to something else. Perhaps "Hello, Android! I am a string resource!" The entire file should now look like this:
view plainprint?

    <?xml version="1.0" encoding="utf-8"?>  
    <resources>  
        <string name="Hello">Hello, Android! I am a string resource!</string>  
        <string name="ApplicationName">Hello, Android</string>  
    </resources>  

我本以为它会显示在应用程序菜单中(在这里您可以选择您想要的应用程序)

然而,情况似乎并非如此。我不确定是代码标签覆盖了它还是什么

代码语言:javascript
复制
[Activity(Label = "Test Test", MainLauncher = true, Icon = "@drawable/icon")]
    public class Activity1 : Activity
    {

        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Main); 
        }
    }

正如我所看到的“测试测试”

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-07-28 07:15:09

当用户安装您的应用程序时,程序包安装程序会显示。

票数 0
EN

Stack Overflow用户

发布于 2011-07-28 07:09:29

标签是您在管理应用程序或应用程序文件柜中使用的标签。应用程序名称是可选的。

“实现此包的整体android.app.Application的类的可选名称”

是Eclipse所说的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6852064

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档