Community Questions & Answers

Android 4.4 window slow to be shown

SDK 3.4.0.GA I've noticed that on Android API19 (4.4.2, 4.4.4) windows are very slow to be shown. Here how I open it ~~~ Alloy.createController('mywin', {}).getView().open(); ~~~ I put a postLayout listener on the window ~~~ <Alloy> <Window...

How to get currentWindow in Alloy

In Alloy, Ti.UI.currentWindow doesn't work (returns undefined). Is there an alternative to this? From the context of a TableViewRow controller I need to access the current window in order to add a view (spinner). Any suggestions?

Window Hierarchy

According to the iOS human interface guidelines, an app only has one window and then different views that change within that window. In the tutorials I have done for titanium it always mentioned to create a different window and then add other views to that...

Add window to a view - 3.2.2

Hi, I am trying to add a view to an existing window. But when i to do this, the app crashes with 'NSRangeException. - [__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0] This worked on 2.x SDK. but now i am using 3.2.2. What is the correct...

Title does not show on simple window

I have started a new app and I am unable to make a titlebar appear on my window. Do I need to use tab groups to get a title bar? I do not need tabs for this app. I am testing in iPhone simulator and see the same results across 3.2-4.2 ~~~ var indexWin =...

Window opens multiple times iOS

Hello, i got a little problem here. I built a tableView with some rows. A new window should open by taping on a row. That works good. But if you're taping fast enough on a row, the Window opens multiple times. Is there a simple way to make sure that the...

iOS7: Change color of backButton and window title

Hi, I was wondering whether there is already the possibility to change the color of the backButtonTitle and window title on iOS7? Haven't found a ticket on Jira so far. I know this is not available for iOS6 and it is somehow possible to change at least...

How to refresh a window after removing a view?

Hi, I have a function that removes a view from a window, however the rest of the window doesn't resize to "fill in" the empty space the way it would if the view wasn't added in the first place. Is there a way to force the window to...

Partial view and parent window

My partial view is a footer holding 5 icons. Depending on which window user is currently browsing I want to activate specific icon (change its color). To do that I figured I need to know some window discriminant and the title property seemed like the right...

How to hide application name

I want to hide what you can see in the top part of my application: !(http://oi62.tinypic.com/2moe34y.jpg) - alloy logo + my app name. How do I do that? I found this question:...

Window change event in tab ?

Hi all, I have Tabgroup in my applications and it has 2 tabs. In one tab I then open other windows like this :- Alloy.Globals.tabgroup.activeTab.open(newWinToOpen); I want to know which window is at top right now but I am not finding any event to get...

Showing 1-50 of 1,552 1 2 3 4 5 632