Community Questions & Answers

tabs do not appear in the TabGroup

Hello, I am trying to add tabs to my titanium app. I am running 3.2.3 GA with iPhone iOS 7.1 target. Somehow, no tabs appear in the bar, as if the TabGroup was empty. I tried to add TabGroup and display it as is. Neither seems to make difference. Please...

Drag view inside scrollView

Hello, I'm kinda new to titanium so I don't know how to do the following.. I want to create a vertical scrollView with set of views, for every view I want to drag it horizontally If I dragged it to left, then the view will be deleted, and replaced by...

Out of Memory - Titanium Alloy

Is it a bad idea to use some static variables or variables such as `var test = Alloy.createController('index');` on different Alloy controller file that contains one to many that really consumes too much memory? If yes, what's is the best practice to...

creation of menu with Has child

hello friends, i want to create a menu on android app while clicking on menu it should show a list of item some of the row should have haschild property means by clicking in that row it should also show a small menu table.. i am unable to find a way to do...

Add view under tabGroup

Hello, I am developing an android application and i want to add a view under a tabGroup. When the user change tab, the view must still exist under the tabGroup. How can i achieve this? I have tried this: ~~~ <Alloy> <TabGroup...

Fixed menu with activities below

I'm looking for a solution for the following problem: (android+ios solution preferred) My current setup contains windows in which i consistently require a partial view which is the header. This means that every window creates a new header and if i close...

View for a particular time

hello, i want to add a new view{V} in a window {W} and i did it using {W.add(V)} but my originally requirement is that this view {V} should be added for sometime say(for 5 sec), is it possible to do that.if not then please tell me other way to do it.

table view not appearing when clicked

hello, i want to show a menu when clicked a button in main window.and i write code for it as index.js// ~~~ function tablec(){ var table=Ti.UI.createTableView({ height:"auto", width:"30%", color:"gray", ...

replace a view with other

hello, I have a two views(x1,x2) in my main window(index.xml). now i want to change x2 view with another view that is in separate file(y3.XML) after that i would have two views in main window(x1,y3).i didn't found any info regarding this in...

Partial Views using Alloy

Hello all. I have the index.xml in my project. It made sense to me to separate the register and login elements. (This is because I plan to reuse them in different pages later in my project) So..I would like to have something like this in my...

How to get height of a NavBar on Android?

My app is for android and will open a heavy-weight window and then add a view to it by utilizing the whole screen. ~~~ var win = ti.UI.createWindow({ navBarHidden: false, }); var view = Ti.UI.createView({ backgroundColor:'yellow', width: Ti.UI.FILL, ...

event - when a view loaded

hello, i want to get data from database and show something on the view before the view is loaded, is there any event or solution can do that? thanks

Alloy Views Navigation

Hi All, am new to Alloy.how we navigate views in alloy? i mean if we have 2 Screens,each screen have one button.if i clicked on button1 which is in screen1,then i want to go 2nd screen. each screen having its own control and views. please help me...

Creating a Static Variable

I'm planning to set a fixed variable in order to organize the control flow of the mobile app program. Here's what I did: at the first controller Javascript file (*Con1.js)*, I made it like this, for example: ~~~ static var value = 999; static var...

Showing 1-50 of 1,276 1 2 3 4 5 626