使用Titanium/Appcelerator Alloy的Android多窗口支持 [英] Android Multi window support using Titanium/ Appcelerator Alloy

查看:104
本文介绍了使用Titanium/Appcelerator Alloy的Android多窗口支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Titanium中按如下所述添加多窗口支持: https://developer.android.com/guide/topics/ui/multi-window.html

In titanium how do I add multi window support as described here: https://developer.android.com/guide/topics/ui/multi-window.html

进入多窗口模式意味着应用程序的高度可以改变.因此,我需要对此做出反应,以便可以适当地显示/隐藏/修改元素.

Going into multi-window mode means the height of the app can change. Therefore I need to react to this, so I can show/hide/modify elements as appropriate.

我认为我需要在调整应用程序大小时添加一个事件,但是我似乎找不到解决方法.

I presume that I need to add an event for when the app is resized, but I cannot seem to find out how to do this.

在文档中,我仅找到有关更改方向的信息: http ://docs.appcelerator.com/platform/latest/#!/guide/方向

In the docs, I have only found information regarding changing orientation: http://docs.appcelerator.com/platform/latest/#!/guide/Orientation

推荐答案

当前不支持(SDK 6.0.2.GA)多窗口模式.但是在以下位置已经有两个功能请求票证:

Currently (SDK 6.0.2.GA) multi-window mode is not supported. But there are already two feature request tickets at:

  • https://jira.appcelerator.org/browse/TIMOB-23432
  • https://jira.appcelerator.org/browse/TIMOB-20553

您可以跟随它查看何时实施.

you can follow to see when it is implemented.

这篇关于使用Titanium/Appcelerator Alloy的Android多窗口支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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