Community Questions & Answers

textField support for RTL

Whether the textField is aligned to left or right using textAlign property in Android, Arabic script cannot be selected using touch gestures, nor position the cursor to edit. I know that since Android 4.2 there is a support for full RTL experience. Is...

Appcelerator Titanium - Alloy vs Classic

I'm about to start a new Titanium project. So far, what I've written is what's now considered as "Classic Project" (I've been writing Titanium apps since before Alloy). I was wondering weather or not it's worth while to switch to Alloy for my...

how to create labels from array data to setup UI

is there anyway to create labels / textfields based on the data from an array? I have an array ~~~ var allRows = [ ['Chest', 'size', true], ['Neck','size', true], ] ~~~ and I'm using a for loop to loop through the array and create labels on...

Image slider widget

Hi I am am coming for Phone gap world there is dearth of UI widgets ....though I was able other widgets i need in marketplace and gittio.io , I was not able to find slider (for featured items ) like so common js world...

TiShadow not working properly

titanium SDK 3.2.3.GA I have installed Tishadow, its not working properly , after I connect to my tishadow localhost server and compile my alloy project and send the bundle to the Tishadow alloy compile -c platform=android and tishadow run (or...

Blackberry 10 navbar buttons

Hi everyone, i just started with development for BB10 using Titanium. Are buttons inside the navbar supported? As [example](http://imageupper.com/i/?S0200010030013S1395647974281206) look at this, how to get something like this? If i set the title-property...

android UI Controls style issue

Hello, 1. Application Type: mobile 2. Titanium SDK : 3.2.3.GA 3. Platform: Android 4.0 & + 4. Device: Samsung Galaxy S3 / Android 4.3 5. Operating System: Mac OS X 10.8.5 6. Titanium Studio: 3.2.3.201404181442 I am a bit confused because I didn't...

Animation not working on iphone

I am trying to apply a simple expand/collapse animation on a view through manipulating `height`. It works perfectly on android but not iphone. Don't know what's the problem. My code is: ~~~~ var win1 = Titanium.UI.createWindow({ top: '20dp', ...

Navigation Group in Alloy

Hi, I'm looking at the docs regarding Navigation Groups; http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.iPhone.NavigationGroup I suspect that this page has been updated many times and by different authors or it's just poorly written. The...

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...

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...

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 !

417 views
asked 6 months ago by Hervé Dury
last activity 6 months ago

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:...

6,487 views
asked 4 years ago by Danny Roa
last activity 7 months ago

Showing 1-50 of 626 1 2 3 4 5 613