Community Questions & Answers

Image visible= false/true savedata

I work in Android. I have a button. When I press the button the image changes from visible / not visible. I can save the configuration as (visible / not visible)? (if I close the application I want to be saved) I have worked with sqlite databse, but do...

image property in Button

Hi ! What is this image property in Button ? Doc says "the image to display on the button to the left of the title". It seems to be different from backgroundImage and it would be great. But when I set it to an image path, my button disappear.

Font outline or shadow?

I need to make my text stand out a little more on top of pictures. Is there a way to add shadows/glow/ or an outline to a buttons text or label?

Changing labels on button click

I am trying to have the label change in the same position depending on the button that is clicked. For example, when my monday button is clicked, the monday label will appear, if the tuesday button is clicked, the monday label disappears and the tuesday...

the content of my window doesn't appear

Hi every body i have a problem which i will try to explain it as possible as i can ! i create a button which take me to another window but when i click the button the window oppen but its content doesn't appear i dn't know where is the problem because...

Button on a tableViewRow

Hi Everyone, I am creating a button and adding to a tableViewRow. I have many rows in my tableView. the button is invisible first which I did by making : ~~~ visible: false ~~~ When I click on a row the button should be visible. I am doing it as...

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

Android Hardware Back Button

Hi...!!! I am working on app which has lots of navigation from one window to another and that too in Tabs.. What I am doing is on 1 tab I am opening a window which has got a tableview inside of it.. And on clicking of a row in that tableview we are closing...

Animations

Hi all i'm new to mobile development kindly share me tutorials/videos of animation module or properties used in titanium studio. As i'm beginner to mobile development kindly share me tutorials/videos with examples it would be grateful........

Button Event

if i make a loop to create group of buttons like that:- `for(var i=0;i<5;i++){ var button = Titanium.UI.createButton({ ..... }) } ` I want to know each button the user clicked ,but after creating the...

Nine-patch image can't work

Android API: 4.1 x86 Titanium SDK: 3.1.0GA View: ~~~ <Button id="testBtn"/> ~~~ Tss: ~~~ "#testBtn": { backgroundImage: '/images/custom-slider-right.png', backgroundSelectedImage:'/images/custom-slider-left.png', ...

Autowidth of a button

I use this code to assign a title to a button and automatically adjust its width ~~~ var btn=Ti.UI.createButton( { title:'text', width:Ti.UI.SIZE }); ~~~ when I do this code, the button grows horizontally to fit the new text ~~~ btn.setTitle('a...

Button touch area

Hi all, Using newest titanium and alloy. Im having a problem with a simple button, after clicking on the button 6-7 times it stops reacting. Its simply "sleeps" the click event for a couple of seconds and then i can click again. Anybody else...

Showing 1-50 of 761 1 2 3 4 5 616