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

本文是小编为大家收集整理的关于使用Titanium/Appcelerator Alloy的Android多窗口支持的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

在钛合金如何添加多窗口支持,如此所述: https://developer.android.com/guide/topics/ui/multi-window.html

进入多窗口模式意味着应用的高度可以改变.因此,我需要对此作出反应,因此我可以根据需要显示/隐藏/修改元素.

我假设我需要添加一个事件,因为应用程序的大小大小,但我似乎无法解决如何执行此操作.

在文档中,我只发现了关于更改方向的信息: http ://docs.appcelerator.com/platform/latest/#!/指南/方向

推荐答案

当前(SDK 6.0.2.ga)不支持多窗模式.但是已经有两个特征请求票:

您可以遵循以查看它何时实现.

本文地址:https://www.itbaoku.cn/post/1938227.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.

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

推荐答案

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

you can follow to see when it is implemented.