Community Questions & Answers

LeftNavButtons Views

I want to add two buttons in the NavBar of the navigation window; one on the left and the other in the center. I tried a few approaches to create the UI: 1. I tried to add one button as the leftNavButton and the other (centred button) as the...

Separate window and button

Hello everybody ! I'm just a new user of Titanium Studio, and I'm currently learning how to develop on Android. More, I'm sorry for my bad English (because I'm French !), and I hope I will be clear. I've just finished an application which can count the...

Text will not align on button

I am using the following code. The text on the button centers itself. What do I need to do to get it to left align? Thank you. ~~~ var btn = Ti.UI.createButton ({ backgroundColor: '#444444', title: 'Just some text', textAlign:...

Change the label of the back button

Hello, Titanium SDK version: 1.6.2 iPhone SDK version: 4.2 How can I change the label for the dynamic back button? I want it to say Back instead of the name of the previous window. Thanks!

3,352 views
asked 4 years ago by James -
last activity 4 months ago

Button Plays 2 Sounds in Order

Hey all, i want the playButton to play the goatsound first, than play the roostersound. With the code below, they both play at the same time!! please help! ~~~ var goatsound = Ti.Media.createSound({url:"sounds/goat.wav"}); ...

How to pass value TextField to alert?

how can i pass values text field from Alert dialog? This is My text field ~~~ tableView = function(e){ var tableView = Titanium.UI.createTableView({ left : 0, right : 0, top : e.top, bottom : 0, width : Ti.UI.FILL, height :...

Buttons plays 3 sounds in order

Hey all, i want to make a button play 3 sounds in the order that i choose, with the code that i have below,they all play at the same time. note:each sound has a button attached to it and when the sound is playing the button's width increases by (this part...

1 Time Use Button

hey all, i wanted to make a button that can only be pressed once after which it will disappear... however this button should be present if the window is refreshed... My code so far... ~~~ startButton = Ti.UI.createButton...

Sequencing in Event Listeners

hey all, I was wondering how i could make 3 things happen in a specific order when a button is pressed. For example, if i wanted to first display an alert than a sound of cow followed by a sound of a dog. When i put all 3 in the event listener, the two...

More than one Button right aligned?

Sorry for this repost, but i really need an advice for this. Ok, ... i try to create this layout ![Buttons right aligned] (http://www.greenphp.de/tibuttongroup.gif) "The label" is aligned left and x buttons should be aligned right. - But this...

Button with background image vs. imageview

I have some custom button images for my application. It seems like I can implement them as either buttons with a background image or as imageviews. I can't find many noticeable differences that would make one a better option than the other. From what I...

Need help with scrollable button menu

I'm trying to build a menu, loaded from an external XML file (on my server), but I'm having some problems translating the XML to a scrollable button menu. In my .js file I have a createMenu(); function which is initially loaded (see code below)....

PAYPAL BUTTON

Hi, I am getting some problem using the latest paypal module for titanium with ti. SDK 3.1.1 GA. On android the paypal button is not even showing up giving the button display error and on iOS it shows up but does nothing and after sometime it says...

button inside 2 views is not clickable

Hi, I've got some buttons which appear inside a view which is the child of another view. The button doesn't work (is not clickable), but when I add the button to the parent view it works fine. So seems like there is some issue with a button inside 2...

Setting image for a button issue

I am setting image for a button with a background color. The image color is white with a transparent background. When i set this image for a button it appears in blue color. When i am setting this as background image there is no...

Gradient is not applying for iOS Button

Hi all, I am trying to apply gradient color for Button in iOS Below is the code i am using it is working fine in iOS "Button" is the argument i am passing from other file. Button.backgroundGradient = { type : 'linear', ...

Showing 1-50 of 1,008 1 2 3 4 5 621