Community Questions & Answers

how to get the position of a UI element on the screen

hey i have a problem that i want to arrange my element in order to each other but i can't get the items properties like left,top and other using getleft() and getwidth() because in many cases this return Nan so what i did in this case is to add...

Titanium Graphs

I want to use create a line graph in Titanium using native code (no webview). Is it currently not possible to do it without using a third-party module from other developers or in the marketplace? Thanks!

How do I bundle xib file with my Module?

I followed the Module Guide to create a create a test module, and the view appears to work correctly when I create a UI element in code and append it to the view; however, if I try to load the view from an xib file with initWithNib method, I get a blank...

Alloy exporting function problem

Hi Everyone, I am posting this question after spending (actually wasting ) two days of trying to solve the issue. I am making a chat application with XMPP. My problem is the UI(message box) is not created . I need to create this box for two occasions...

Remove TiUIProxy from memory

Greetings I am handle the app memory; I do remove from memory every element created, by removing it and setting to null; for example a TiUIView on xcode it goes to transient; but the TiUIViewProxy does not, it still continue in living. How do I do to...

app is not loading the entire UI

I am working on this small weather app. I have reconstructed this a bit so that it doesn't get too unwieldy and removed anything that was referring to the API or location as the problem stems from the UI only. ~~~ // setting variables based on the actual...

Implementing immersive mode for video playback

Is it possible to implement Immersive Full Screen Mode available from Android 4.4 API level 19 into a titanium app where i could hide the hardware menu buttons placed in the bottom of the screen on playing a video and on swipe from those buttons would...

insertAt documentation?

Anyone have any example of how to use insertAt? I see it available in the titanium sdk source (IOS [here](https://github.com/appcelerator/titanium_mobile/blob/a417bc90489b89bbae7c65e561530ec487ba3b0d/iphone/Classes/TiViewProxy.m#L223)), and (Android...

zIndexing issue

Can you not set zIndexing with tss? My alloy: ~~~ <View id="viewWrapper"> <View id="view1">I am view 1</View> <View id="view2">I am view 2</View> </View> ~~~ My...

Generic Tab - Tab Group Issue

- Titanium Studio: 3.4.0.201409261227 - Device: Android emulator - Nexus 10 - OS: Windows 7 I'm new to Titanium and Alloy. I'm trying to create a very generic Tabbing system utilizing the Alloy Tag <TabGroup> and my emulator bombs out anytime I hit...

UI objects: methods vs assignments

I was wondering if there is any difference between: ~~~~ $.view_object.height = '50dp'; ~~~~ and ~~~~ $.view_object.setHeight('50dp'); ~~~~ which one is recommended and are there any pros or cons, perhaps for other properties?

Animate Veiw Height From 0

I'm having serious issues with what should be a very straight forward problem in Titanium Mobile 1.8.1. I have a view with height 0. I then wish to animate that view to open up and display the contents. If this was jQuery, I'd be able to use .slideDown(),...

ScrollView Jerks to the Left

Image: ![Jerky Scrollview](http://silo.schr.fr/scrollview_error_when_selecting_city.gif "ScrollView Jerks to the Left") I’ve tried loads of things, but I seem to keep having this problem. There is a ScrollView that is defined to be the width...

Titanium Colour Wheel

Hi All, I am trying to create a colour wheel using titanium i have been using this great module as a starting point [Colour picker](https://github.com/t3hi3x/Appcelerator-Titanium-Mobile-Color-Picker/blob/master/Resources/color_picker.js) But i am...

UI VIEW

Hello everyone, I am new to titanium studio, I just created 2 tab demo application. How can I check the UI design of my index.xml Is it I have to run my emulator every time to check the changes? Thank you

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

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

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

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