Community Questions & Answers

NavigationWindows do not respect zIndex

- Application type: mobile - Titanium SDK: 3.2.0 - Platform & version: iOS 7.0.3 - Device: iOS Simulator - Host Operating System: OSX Mountain Lion, OSX Mavericks - Titanium Studio: 3.2.0.201312191547 NavigationWindows seem to appear on top of each...

zIndex not working on Views

I have views that overlap and as soon as I add a backgroundColor to some of the views, the view overlaps another view even though I have the zIndex set. Any ideas? ~~~ var container = Titanium.UI.createView(); for (var wnw = 1; wnw < 30; wnw++) { if...

Sliding a window over other

--mobile app on titanium(3.1.3) alloy (1.2.2) on windows Hi, I am trying to build a simple slide screen. When clicking on a button causes another screen to slide from the right and overlap it. As is in facebook or google drive. But somehow both views are...

Visibility/order of multiple views in Alloy app

Hi, i'm stuck with something i thought would be easy to achieve. I created a little app based on Alloy with four windows/views which are all using full screen size. Let's call them a, b, c and d. On startup 'a' is the visible view. What i want is when i...

zIndex property not working with Window objects?

Hi, I've been working on an app that will have a large number of content screens, and so am looking for a way to manage them efficiently. I'd like to have each content screen in a separate file, loaded in to a Window via the url property. Then, display...

Windows zIndex

Hey there, I try to have one 'fixed' window that is always on top of the other windows. Haven't had any success using zIndex, neither in the parameters of createWindow nor using the work-around: window.animate({zIndex:22}); I read that this is a...

How to place a window below another window

I have an alloy application with (simplified) 2 controllers and 2 views. View 1 = index, View 2 = settings. I'm trying to detect a swipe on the index window and then show the settings window BELOW the index window, by using an animation. I've used the...

zIndex of annotations

Hi, first I add the stations, then routes and finally the busses: ![Screener](http://familientagebuch.de/rainer/img/2013/hamburgerrundfahrt2.png) But if you can see, the bus is partial under the station. How can I solve. The object annotation has no...

zIndex not working on iPhone

Hey guys.. Im curious, anyone know why this wont work? ~~~ var win = Titanium.UI.currentWindow; var views = []; // title control var tb4 = Titanium.UI.createTabbedBar({ labels: ['Tables', 'Fixtures'], index: 0, style:...

Unpredictable z-index?

Hi all, this strange bug has been bugging me for two straight days! I have 5 views each containing a scroll view and set z-index on them as they're clicked. For some odd reason, the one with z-index of 3 always shows on top of the one with z-index of 4,...

Working with zIndex on Windows

I have 3 windows (A, B, C): * A opens * B opens (on top) * C opens (on top) * C animates 40px from bottom, and is still in front of B * B closes, and C is still in front of A * B opens as a new window (on top), and C is not on front How do I keep C on top...

Animating zIndex.

Hi everyone! I'm having a problem when animating using zIndex property, because it doesn't have the expected behaviour. I first create a view. ~~~ var self = Ti.UI.createView({ height : '100%', width : '100%' }); ~~~ Inside the view I add a veil...

Zindex image access

Hello, i would like to know if what my next idea is doable. I have my application and i would like to display a filter image( like a nightvision mode for exemple ). So i want to display a green picture on my screen with 0.5opacity. Consequently, this...

iOS Custome tab navigation problem

I'm trying to create a custom tab bar navigation, that will be static on the bottom of the app. i'm creating the view with the images inside in my app.js, and add it to the tabgroup. here is the problem: one of the images of the tab bar is a transparent...

View visibility issue

Hi, I have a tableview and I need to add row(s) to it after it is added to a main view and then the last one added to the main window. See the example for a better understanding. example: ~~~ var w = Titanium.UI.createWindow({...}); var v =...

zIndex error in Android 2.1 (SDK 1.75)

Morning All, I have an app which I created for Android 2.2+ using SDK1.8.2, which works perfectly. In the interest of making the app available to as many users as possible, I want to make it backwards compatible to Android 2.1 (using SDK 1.75). All the...

zIndex Frustration

I've got 5 windows in my app that I'm trying to order the zIndexes of in a specific way but to no avail. The results are completely unpredictable and inconsistent! Before completely giving up, I'd like to see if there is anyone out there with more...

Problem with zIndex in view

Hello Guys, I'm with a problem that does not know how to solve. I have within the window "A", three views and three buttons. Each button activates a view (all are with zIndex). And in the "B", a blank window (just to illustrate the...

Titanium ignores zIndex = 0 on Android

This is a heads up for anyone relying on zIndex. Unlike CSS, zIndex in Titanium is not permissive with its values. I've had it ignore my values or sometimes crash. Here's an example of zIndex being ignored: ~~~ var win = Ti.UI.createWindow(); var smallBox...

Android NumberFormatException is driving me nuts

I'm working on converting my iPhone app to Android and I keep running in to fatal NumberFormatException errors. For example, the following code... ~~~ button.zIndex = parseInt(300); ~~~ ...gives me this error... ~~~ java.lang.NumberFormatException:...

Hidden password dialog underneath webview in android

I've been trying to figure out why a webview that is speaking with twitter oauth shows its internal browser password dialog **underneath** the webview window. ![screenshot one](https://img.skitch.com/20110329-dn7chaqe98ndy9nu515xti9h5q.jpg "oAuth in...

Layers

I have one js. Inside this, i have a line that includes another JS that consists of my drop down menu which i will be reusing. however I can seems to be able to see the drop down menu after i use this method. below is my code, hope someone can help to make...

Dynamic zindex Bug

So I've asked this on the IRC but couldn't get an anwser cause nobody knew why. So i'm posting a project here which reproduces the problem (with comments for explanation) In short: I'm changing the zIndex Value for a ImageView (or View for that matter)...

zIndex problem

It seems that i'm having some problems with finding the right zIndex for 2 views. I have 1 view that contains a scrollable view (with views loaded by a database), and another view that also contains a scrollable view. (also from a database). Now, it...

3D and zIndex

Hi, I am trying to make a spin, like on the kitchensink example. ~~~ var spin_v_tr = Ti.UI.create3DMatrix() spin_v_tr = spin_v_tr.translate(0,0,1000); spin_v_tr = spin_v_tr.rotate(180,0,1,0); ~~~ When I do this, while rotating the view takes the most...

Issue with the zIndex

Hi! Maybe its only a little bug or its me ;-) I got 4 Buttons on the top and a table view unter those. my buttons have this little "arrow" unter them (like on many web2.0 websites in the navigation). These arrows should be 5 pixels on this...

zIndex not being honored for Views

Here's a quick demo: ~~~ var modalView = Ti.UI.createView({ backgroundColor: '#FF0000', opacity: 0.5, top: 0, left: 0, bottom: 0, right: 0, zIndex: 2 }); var normalView = Ti.UI.createView({ top: 0, left: 0, bottom: 0, right: 0, zIndex:...

Showing 1-47 of 47