Questions tagged [titanium-widgets]

Widgets are self-contained components that can be easily dropped into Alloy-powered Titanium projects.

Widgets are self-contained components that can be easily dropped into Alloy-powered Titanium projects. They were conceived as a way to reuse code in multiple applications or to be used multiple times in the same application. Widgets have their own views, controllers, styles and assets and are laid out the same as the app directory in the Alloy project.

15 questions
1
vote
1 answer

titanium exit from app global function

i have a application which uses drawer widget..so in that drawer js file i have a button which users can click and exit..but it is not working. Here is my index.js file var win = $.index; here is my drawer.js file var button = $.exit; button…
1
vote
3 answers

Issue with displaying the radio button label in tianium?

I have created a radio button from the following link, https://github.com/yozef/TiRadioButtonGroup. I am able to see the radio buttons but the respective radio button labels are not showing. How can we display the radio button labels. My code:…
1
vote
1 answer

Titanium SDK webview component doesnt allow interaction with website it loads

I am trying to implement a side panel using Titanium wherein I have couple of options under the side panel menu and each menu option loads a different view. One of the options loads a webview. The website or html loads perfectly in the webview…
1
vote
1 answer

Titanium - Design Title bar with three controls in in a view

I want to design app title bar with 3 controls. Left Menu Button Screen Title Right Menu Button I have tried to achieve this, here is my sample code. var win = Ti.UI.createWindow({ navBarHidden : true, orientationModes :…
Sohail Ahmad
  • 86
  • 1
  • 1
  • 11
0
votes
1 answer

Titanium Alloy: Actionbar & DrawerMenu

Recently I started working on a multi-platform application using Titanium Alloy. One of the things I'd like to achieve is having a menu button in the actionbar (infront of the appicon). When pressed, it toggles the drawermenu. After a little…
0
votes
1 answer

Get text from the pickerWidget in Titanium Alloy

I m trying to use a widget called danielhanold.pickerWidget! By clicking on label the picker should popup and set the selected value as text on the label....i m a newbie to titanium and javascript so can anyone tell me how to get text of the…
Hardik Amal
  • 1,283
  • 1
  • 16
  • 23
0
votes
1 answer

Issue in positioning titanium alloy widgets for different screen size

Click here! to view the screen shot taken on nexus 5 and galaxy core... In galaxy core,everything appears good but in nexus 5 the widgets get shifted to the left due to different screen size... I have set
Hardik Amal
  • 1,283
  • 1
  • 16
  • 23
0
votes
1 answer

Titanium alloy check box creation label is not showing

I need to create a check box in my app. So for the same reason I have installed the native check box widget from the following link http://gitt.io/component/checkbox After installation when I run my app, the result is as follows, But I need to…
0
votes
0 answers

Titanium Alloy Pull-to-refresh widget not scrolling properly on Android devices

I am working on Titanium SDK and need to implement that Pull-To-Refresh widget. This widget works perfect while on iOS devices but when I try to run the same on Android devices, it doesn't even scroll the controller. I have placed code on Google…
0
votes
1 answer

NappDrawer widget fails to build android package and gives error

I am working on Titanium SDK and needs to implement slider style menu. For this I found NappDrawer a useful widget and it successfully works on iOS devices and simulators. But when I tried to build the same package on Android devices, it gives me…
0
votes
1 answer

Titanium - Label on Map Pin

I need to code for label on the map as product price in Titanium SDK. Anybody have any idea how to achieve this ? Waiting for your kind response.
0
votes
1 answer

titanium alloy widget assets folder path

I have a problem referencing the assets (image) folder path for my widget on an ImageView. I have the header widget and I want to add the home button image. the home.png is stored into /widgets/widget.folder/assets/home.png The documentation says…
0
votes
1 answer

Modifying widgets in an alloy project

I have a widget which is a photo gallery. It's basic functionality means that it only allows the user to click on a thumbnail and then enlarge/de enlarge upon an onclick event. I need to expand the widget so that there is a button which allows the…
bobo2000
  • 1,779
  • 7
  • 31
  • 54
0
votes
1 answer

Titanium Appcelerator Alloy not supporting formFactor styles for widgets

I have developed a sample code in which I created a widget having just a view which adds image view inside it. It works perfect when I apply styles from tss of controller directly but when "formFactor" is used it's not working. To clarify the same…
Paresh Thakor
  • 1,795
  • 2
  • 27
  • 47
0
votes
1 answer

Get local image path from a widget on Titanium

How can I create a widget with its own images to use in any project? I created an "images" folder inside the widget project and now I want to get the path without changing it on every project. The structure is:…
SysDragon
  • 9,692
  • 15
  • 60
  • 89