Community Questions & Answers

Alloy Views Navigation

Hi All, am new to Alloy.how we navigate views in alloy? i mean if we have 2 Screens,each screen have one button.if i clicked on button1 which is in screen1,then i want to go 2nd screen. each screen having its own control and views. please help me...

Getting children views inside parent one.

Hi! The case is to get child view by id or another identifier. First and most known solution is make it like the following: ~~~ function updateMessage (row, data) { row.children[1].children[2].children[1].setImage(data.url); // work if we know the...

Menu layout needed

Hello Masters of Appcelerator, am learning to coding using appcelerator and i need your help to get a menu layout just like the one below which is also cross platform. Thanks in advance. ![menu](http://i.imgur.com/KuG06zU.jpg)

Actual width of view

Hi, I want to place several views side by side in a horizontal scrollView, each view contains a dynamic label so its width should be "auto". Since Titanium layout is "absolute", I have to calculate the "left" property of each...

zIndex Tablerow Issue

Hi, I add a table row dynamically which is inserted before the first row. I have created a custom dropdown using a view and label. The dropdown view displays but the items are not overlapping the row underneath therefore the dropdown items are being cut...

Access view in a listView

Hi, I have a listView and on each row I have a button and I need to show a Popover from this button when I click on it. So I have creates an event like this : ~~~ function handleBtnClickEvent(e){ var item = e.section.getItemAt(e.itemIndex); }; ~~~ But...

Fixed size between views

Hi! I have two views with some labels and buttons. ~~~ <Window> <View id="view1"> ... </View> <View id="view2"> ... </View> </Window> ~~~ I need set fix size between them, let say 50dp. I tried to...

Rotate image

Hi all I have a View with a background image which I would like to be able to rotate with a finger "scroll". So can anyone tell me how to rotate Views on the iPad? Best Dennis

View removeAllChildren slow on Android

App Type: Android SDK: 3.2.0 Device: Galaxy S3 i9300 Version: Android CM 4.3.1 Host: OSX 10.9.1 Alloy On IOS, view removeAllChildren method works perfect, on Android works but I can see the interface removing one item by one, very slow, i'm testing on a...

Ti.Modules are great - but I am desperate! : /

Hey : / I am trying since 4 days to build a Ti.Module based on this awesome iOS Library "TSMessages". https://github.com/toursprung/TSMessages In my module ".m" file I already created this function: ~~~ #pragma Public...

Alloy UI problems

I am working on an alloy app (first Alloy project) that needs to have a tabgroup with multiple tabs and a common control panel/bar across all tabs. I found that the only way I can do this is to make the tabgroup the default window in my index.xml and then...

Crash when swiping a view multiple times in iOS

Hi guys, I'm having a rather odd crash on my app for iOS using Titanium 3.2.1 running on iOS7. I get the error on both simulator and device. This is the stack trace..... ~~~ [INFO] : 2014-02-21 22:01:20.378 2000 Words[78335:80b] *** Terminating app...

Variable By Reference

Hello, I'm trying to figure out how to access a variable by reference in Titanium. I've created an array of views, and I want to swap between them at will. I add say view_array[1] to my window, make changes, and then swap to view_array[2]. When I try...

Setting Frame for iOS Modules

In making a custom View Module for iOS, how do you pass size properties to the view? That is say I have a custom module name FooModule, with a viewproxy/view FooViewProxy/FooView, and in some controller (say app.js) its initialized as: app.js: ~~~ var foo...

Showing 1-50 of 1,220 1 2 3 4 5 625