2013-02-23 77 views

回答

1

您可以使用屏幕尺寸(window.screen.widthwindow.screen.height)和窗口大小来计算窗口左上角的所需位置,然后将它放在这里:

var app_window=Ti.UI.getCurrentWindow(); 
app_window.setX(window.screen.width-app_window.getWidth()); 
app_window.setY(window.screen.height-app_window.getHeight());