Adobe Air 自定义状态栏
我一直在寻找一些有关为 AIR 应用程序创建自定义状态栏的示例,但没有找到任何真正有用的东西。直到我开始在 Tour de Flex AIR 应用程序中查找示例,它就在那里(应用程序本身的一部分)。有人对复制此状态栏有一些建议吗?我遇到的问题是我似乎无法获取要显示的动态变量的值。我正在尝试显示当前用户。
I've been looking for some examples on creating a custom statusbar for an AIR application, but haven't found anything really useful. That was until I started looking around in the Tour de Flex AIR app for an example, and it was right there (part of the app itself). Would anyone have some suggestions on replicating this statusbar. The trouble I'm having is that I cannot seem to get the value of a dynamic variable to display. I'm attempting to display the current user.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在应用程序的
initialize
处理程序中:应用程序将从您的类创建状态栏。
In your application's
initialize
handler:Application will create status bar from your class.
在您的描述符 xml 中,将
systemChrome
标记设置为 false,然后只需想象一下您希望状态栏的外观并实现它即可。In your descriptor xml, make the
systemChrome
tag false, then it's just a matter of imagining how you want to make your status bar look and implement it.