Community Questions & Answers

Scroll map automatic

I saw an app in a map that when I would select a country to go, for example I'm in the U.S., and selected the Brazil, it scrolls the map up to Brazil, even in animated form, sliding to the parents that I selected. And do not just play the position. I...

Memory Management

Hello, I have created an app that simulates a decision tree. When one section is chosen, its children are then loaded into the view. The app creates new views to display on each selection and then destroys the previous views no longer needed. My...

Keyboard move scrollview slightly left

Hello, I'm pretty new to titanium and am having a problem with the keyboard moving my scrollview left. I'm using Titanium 3.1 and am focusing on IOS and Android. I have a scrollview that I have set the contentWidth and width values to 100%. I have also...

TableView inside a ScrollView

I'm trying to write a chat window, similar to WhatsApp's chat. For that, I initially wanted to put a bug ScrollView, and in it two elements: a TableView for all the chat bubbles (90% height for example), and a view for the TextField/SendButton (10% height...

scrollView height 100% - 50px

Hi, i make a header with a height of 50px, and under this header i have to put a scrollView with the rest of the window height. How can i calculate this height? because i use Ti.Platform.displayCaps.platformHeight but this height includes the android...

Scroll bug?

This code tries to display a set of rows in an area with scroll vertically. ~~~ //Create some data var rows = []; for (var n = 1; n < 50; n++) { rows.push(Ti.UI.createTableViewRow({ title : n, height : 'auto' })); } //Create the...

ScrollView Dynamic Loading

I am trying to duplicate the Pinterest style scrollview. It has dynamic loading which is ideal if you need to load hundreds or thousands of pictures. I have a good grasp of it but I am running into performance issues. The scrollview interface becomes...

Long vertical scrollview performance problem

Hi guys, I'm having serious trouble with scrollview performance and wondering if someone has experience on this can share his strategic solutions. I am developing a pinterest-like app with 2-column scrollview which is the container for a large number of...

Create List/Tableview

I'm new to Titanium and am just wondering what the best way would be to achieve something like this: ![image](http://i.imgur.com/znvy0nQ.png) I tried a function something like this, however I would want to have the text overlay the row backgrounds....

MapView Inside a ScrollView

Essentially, I building an app, that has a page with a small map view in it, and a list of stores, I need to be able to scroll the entire page, so I must create a scrollview, when I wrap everything in a scrollview though, i cannot pan north and south on...

Add toolbar in touchevent window

I currently have a window that has opened from a touch event in the app.js which is a scrollable gallery but for some reason the toolbar that I want is not showing up on the bottom of the windows. I am coding for ios and using the latest sdks and...

Why ScrollView doesn't work?

i have view and tableview in scrollview and I want to scroll my view but it works seperatly. why it scrolls only table not view. when i try to scroll this View it does't move but if i try to scroll TableView only TableView scrolled ...

scrollView stopped scrolling after View added above it.

I just tried to update one of my apps by adding advertisements to the top of each page. So before I just had one scrollView on the page. Now there is a View (ads) at the top and then below that is the original scrollView. All I did was move the scrollView...

Pinch to zoom in Android

Hi, I am trying to implement pinch to zoom in Android using ImageView. Following in the code which seems to be working with certain issue: ~~~ var lastScaleValue = 1; var win = Titanium.UI.createWindow({ exitOnClose : true, navBarHidden :...

Pinch to zoom in iOS

Hi, I am trying the following code using 3.0.2GA, iOS 6 simulator and the pinch to zoom feature is working as expected, but there is an issue in the UI. Below is the code: ~~~ var win = Ti.UI.createWindow({ backgroundColor: '#000' }); var image =...

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