AIR桌面应用程序设置图标
2014-04-28 18:35
211 查看
创建AIR应用程序后,工程会自动生成 XXX-app.xml,
XML中有 icon 节点,具体说明和详细见下:
<!-- The icon the system uses for the application. For at least one resolution,
specify the path to a PNG file included in the AIR package. Optional. -->
<icon>
<image16x16>assets/icons/me-16-16.png</image16x16>
<image32x32>assets/icons/me.png</image32x32>
<!--
<image48x48></image48x48>
<image128x128></image128x128>
-->
</icon>
默认是注释掉的,需要设置图标时,使用他就好了,然后在image16x16等后,加上你设计好的图标就好.我上边就设置了两个图标,一个是32*32的,用来快捷方式显示,一个16*16的,用来在程序窗口显示和桌面地步导航显示.
这些图标放在应用程序的哪个目录呢:
我建议放在SRC目录下,这样的话就可以直接像我上边一样使用该图标了
32*32:快捷方式显示图标
16*16:程序窗口显示图标
XML中有 icon 节点,具体说明和详细见下:
<!-- The icon the system uses for the application. For at least one resolution,
specify the path to a PNG file included in the AIR package. Optional. -->
<icon>
<image16x16>assets/icons/me-16-16.png</image16x16>
<image32x32>assets/icons/me.png</image32x32>
<!--
<image48x48></image48x48>
<image128x128></image128x128>
-->
</icon>
默认是注释掉的,需要设置图标时,使用他就好了,然后在image16x16等后,加上你设计好的图标就好.我上边就设置了两个图标,一个是32*32的,用来快捷方式显示,一个16*16的,用来在程序窗口显示和桌面地步导航显示.
这些图标放在应用程序的哪个目录呢:
我建议放在SRC目录下,这样的话就可以直接像我上边一样使用该图标了
32*32:快捷方式显示图标
16*16:程序窗口显示图标
相关文章推荐
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- AIR桌面应用程序设置图标
- flex air 设置应用程序图标 - [Desktop - AIR]
- flex air 设置应用程序图标 - [Desktop - AIR]