Community Questions & Answers

Android 4.0 Switch Widget

Does anyone know if you can create a switch widget in Android yet? The one I'm referring to is the Switch UI element that was introduced in Android 4.0 (On/Off toggle), similar to the ToggleButton. From what I can tell, Appcelerator has not added support...

Can't update label text from a callback.

Hello, I have been trying to solve this, just can't figure it out. I am trying to change the text of a label from a callback. I first tried to change it from the receivePush() callback for Push Notifications, but didn't work. Then, I tried to change it...

Menu layout needed

Hello Masters of Appcelerator, am learning to coding using appcelerator and i need your help to get a menu layout just like the one below which is also cross platform. Thanks in advance. ![menu](http://i.imgur.com/KuG06zU.jpg)

Need Help with Slide Menu Tutorial

Application type: mobile Titanium SDK: 3.2.1.201402041146 Platform & version: iphone and android Device: iOS simulator, Android simulator Host Operating System: OS7 Maverick Titanium Studio: I am trying to implement a slide menu for android and...

DocumentViewer change Done text and top bar

How is the code for changing the "done" word in the DocumentViewer ? how is the code for keep always avtive the top nav bar (because sometimes become hidden) ? I didn't find answer anyway I will be happy if there is an alternative to that, but...

Edit content of XML

Hi, I want to edit the content of my XML (see below). I'm trying to change the value 50 with 70 in my file. Here is my code, I don't know what I'm doing wrong please help ~~~ var file = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory,...

Spacing between UI elements

The below code seem to overlap the labels and buttons. To style them properly i have to give the top attribute to it. But my worry is my App is MultiLingual and the top may fail if the label height changes. <View id="infoBubble"...

Button drop down menu

Hi ! I wondered if it's possible to show a drop down menu under a button when clicked ? Such as action bar menu item on android for example... Thank you in advance for your help !

getting type of titanium UI objects

hello, i am trying to determine type of titanium UI objects. Basically i have multiple UI elements, like button, text field etc., added to window. Now i want to understand type of object when i iterate through getChildren method (basically distinguishing...

ActivityIndicator error

In Android i did try create the activityIndicator and this presented a problem because run to back the windows, and this show after close the window, i need a solution for this problem.

borderColor for TableViewRow not working

I tried the following to set the border color of a table row but it didn't work. What am I missing? ~~~ var row = Titanium.UI.createTableViewRow({ borderColor: "#436394", borderWidth: 5, backgroundColor:...

5,589 views
asked 3 years ago by Danny Roa
last activity 5 weeks ago

Wait until loading an acs method

Hi ! I've got an acs custom object with a list of acs event ID's and I would like to load each events based on the ID in a table view. My problem is that I try first to put all concerning events to an array like this ~~~ var tableEvents = []; for (var i...

Lable in TableViewRow isn't updating

I've been developing an app for a transportation company that shows drivers a list of people that they need to pickup and drop-off. When the app first opens, the driver is presented with a list (TableView) of people sorted by the time that the driver is...

Removing a view causing my app to crash?

Hi all, Im working on a screen which has a couple of input text fields and labels and a continue button. On the continue button click I am removing my variable 'container' and adding a different container with different text fields etc. It is all very...

Textfield getting hidden by keyboard

Hi My textfield is not sliding up and getting hidden by the keyboard. What could be the reason for this? Here is my config for the textfield http://pastie.org/988526 This is happening in both 1.2.0 and 1.3.0 Here is a video of the issue...

Titanium UI constants FILL and SIZE for image

what is the difference between Ti.UI.SIZE, Ti.UI.FILL? anyone can explain to me , the description for titanium does't explain clearly ~~~ var img = Ti.UI.createImageView({ width:Ti.UI.FIT, height:Ti.UI.FILL //fit screen ...

Sample app running for different platforms.

Hi All, For last few days, I am struggling with the UI designing for different platforms (Android phone/tablets, iPhone and iPads ) having different resolutions. Googled for while. But didnot get any exact answer or sample which describe designing for...

GUI builder

Hi, I am asking about the best way to design GUI, as ForgedUI(looked OK) is closed for business(stopped) now and Visual-UI as i checked has many issues till now, I can use js code for GUI or use alloy. It is very inefficient and annoying to write code...

Range Slider

Hi! Is there a range slider available so that a single control can show both the minimum and maximum values for say ranges of prices? Thanks

Problem with a keyboardToolbar

When 'Back' button is clicked on the navBar, it seems to me that keyboardToolbar stays active so when textField is activated on the another window both toolbars will be shown, toolbar from the current textField and one from the previously closed window. Is...

Listview crash and some other questions

using the latest version, 3.2.0ga for android development I'm still trying to figure out exactly how listview works. I'm trying to create a simple listview with a template to start working and when I run it the app just crash even with a try catch block....

Showing 1-50 of 599 1 2 3 4 5 612