Community Questions & Answers

Android Disable Auto-focus on TextField

Hi, My problem is whenever there is a textField in the window, Android will automatic select and focus on the first one. I had found many suggestion on this but no matter how i do it, Android will always focus on one of the textField even after i call...

Weird Textfield padding

I have an app that has strange textfield padding on Android devices. I use Genymotion and test on multiple devices. The only device that seems to have this issue is my Samsung Galaxy S4. I have attached two screenshots, one from my [Galaxy...

empty textfield doesn't fire onblur

I am building an app for iOS using alloy. I have a list where the user can add a name to each row or leave it blank. I use an "onblur" event to save the name in properties. So far so good. They can add names and change the names, but I...

Cursor color in a textbox

Hi When I use textbox with a white backgroundColor, I cannot see my text cursor as it is white as well. This seems to be a problem with Android 4 and SDK 3.2.x, because lower versions did not give me this problem. Is there a way to change the color of the...

Android: The Text Area doesn't scroll

Hi all! I have a problem in android build that the scroll is not working in textarea for android build while it working fine in Ipad and iphone builds. please help me out to solve this problem. thanks in advance, Abdus Sattar here is my code ~~~ var...

In-App Form

I'd like to create an in-app form so in this way a user can send me informations directly without using an external e-mail application. So I wish to create a Titanium Function that take elements from 3 textfields and a date picker and when I press on...

Android 'change' event firing thousands of times when I try to mask a textfield. What would be the correct event to use?

Hi there the following code on android: ~~~ var changeCounter = 0; $.registrationPhone.addEventListener( 'change', function( event ){ Ti.API.info( 'The textField has been changed ' + ++changeCounter + ' times!!!!' ); $.registrationPhone.setValue(...

LG G2 Text Field errors

I have recently updated my LG G2 to the latest version of KitKat and am noticing issues with textfields. Has anyone else noticed that the text typed in text fields is appearing above the actual text field and cut off? Here is a snippet of the code I am...

On The Fly Masked TextField

Titanium-Alloy, Android 4.2.2. Hi there, I would like to know if you have had the need to mask a textfield on the fly. One project I am working on needs the user to input some formatted numbers (numbers+punctuation). On my best efforts, I've made a...

Text field Vertical Align

Hello, I'm using Titanium Studio, build: 3.2.1.201402041146, and my operating system is Windows 8. I have an android alloy mobile application project. I want to align my text fields content vertically center. ~~~ var txtSearch =...

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