Appcelerator-Q-A-banner

Community Questions & Answers

Image color of Button

I created a button and specified an image for it. For a reason, the color of the image, is more intense and different from the actual image. I don't have any other property related to color. Is that normal ? I am using appcelerator classic

Button Transparency

Anyone know how to make a button WITH and image obey the alpha channel stuff for transparency? I thought this would work, but it doesn't. If I load sample.png into Photoshop, you can see the transparency layer is in fact there. I am placing my button...

How to animate Images like GIF's

How to animate Images like GIF's Hello, I'm new to Titanium mobile. I would like to know how to animate Images like GIF's. ex: image1.png image2.png image3.png image4.png on click a button animation start for a duration of 2 sec Thank you for your help!

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,734 views
asked 4 years ago by James -
last activity 10 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...

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