Community Questions & Answers
problem opening tab window from tableview
Hi, I can open this window directly from the tab which runs correctly but it causes this error if I try to open it from a tableview. ~~~'undefined' is not a constructor (evaluating 'new FormHelper()'~~~ I am using Titanium 3.1.0GA but have tried with...
Alloy : Using the Toolbar generated by TabGroup
I am currently exploring Alloy's framework and wondering how could you use the TabGroup's ToolBar in XML, seems like I am having hard time figuring it out.. :-/ Tried something out, but obviously the result is what I thought, it is adding another toolbar...
How to calculate height of tabGroup
I'm trying to make a view the height of the device which is done easily using Ti.Platform.displayCaps.platformHeight but then I want to subtract the tabGroup height from it to make it appear exactly under the tabGroup. I know it can be done with...
back button android and tabgroup
hi expert; I have a big problem with my android application on Titan, I would like to work with the back Button to return to the previous windows, but when the current window contains a TabGroup I have to click two times to get to privious window if not it...
Google Maps V2 module crashes when view placed in tab group
In my app I have a main screen with a tab group, where I now want to add a "Map" tab. This has worked in tests with 3.0.0 GA previously (on a very simple "Hello world" level...), using the "old" cross-platform Ti.Map (on...
get TabGroup container window
What I'm trying to do is open a window when the user clicks a button that exists in a tab. In android it works ok with `window.open()` while there is a back button on the device. On iOS, I'd like that click to spawn a `NavigationGroup` that will lead...
Center title vertically and horizontally in a tab
Hi, I'm building a crossplatform mobile app -iPhone & Android- with SDK 3.1. I'm using a TabGroup. Tabs use icons and title, and it works as expected. Now if I _remove_ the icons and keep only the title on Android devices, the title displays...
Replace window content
Hi, I'm developing an android application and I have to obtain this result. Because I don't like native tabgroup for android and because I'd like to have a custom title bar that show the brand of the app (that is not possible in android) I thought to...
Alloy TabGroup Tab slide animation in Android
I kinda just started and run the kitchen sink on Android, I like its tabgroup slide-able, but I am not sure how to do it in Alloy. I cant find any special setting made by kitchensink to the tabgroup, and when I simply create as many tabs as possible, it...
Is it possiable to create tabgroup with slide animation in android
Give me idea to Create tabgroup wtih slide animation in android like iphone. Thanks&Regards R.Prabakaran.
Same (custom) Navigation bar on iPhone and Android
Hi, on today's app that should work on IOS and Android, I see more and more same Navigation bar and same multicolored TabGroup on both platform. Are those things done in HML5 or do you think that they are done natively ? Is it easy to do such thing keeping...
Fix orientation as portrait in android with Tabgroup
Hi, I am creating an app in which I am using tabgroup. my app supports only portrait mode. I have tried to fix orientation using tiapp.xml file and windows orientation property. but nothing works for me. I am able to fix orientation with custom android...
refreshing a table view in a tabview after returning from a window
In my tabview, the first tab's window is a seperate js file. which i linked to this first tab using the window url property. in that window i have a table view. from the first tab's window i open a new window which has the data related to the table view....
show tabs at bottom on android for sdk 3+
i have seen many examples to make the tabs at bottom for android but that all does not work after sdk 3 is there any way i can make the tabs at bottom for android for sdk 3+ i want to do that to make my apps look same across both platforms
Open a new window inside a tab with alloy
Hello, I need to keep the tabgroup visible at all times on android. On iPhone this is the standard behavior. I created an simple example(that does not work): Controller(index.js): ~~~ $.index.open(); function openWindowInsideTab(){ ...
Tab Icons on Android, auto scale like kitchensink on different resolutions?
Hi! I'm currently developing a cross-platform mobile App. I'm using a tabbed interface using tabgroup. Now my problem is that on Android the icons i use on my tabs seems to display using exact pixel size instead of the "virtual" pixel...
Getting the index of the current tab
Hello all, As far as I read, the `getCurrentTab()` function of the TabGroup Object returns a Tab Object representing the current tab. I'd live to ask if there is a way to get the index instead of the actual current tab?
How can i hide the TabGroup after window creation?
Hi, i want to hide the tabGroup on certain events (in this case on based on the orientation). The Api docs says there is a hide() method, but i don't know how to get the reference to the TabGroup. It is created in the app.js. Any Ideas? Thanks..
Is this possible to have tabGroup at bottom on Android with Titanium 3.1.0
Hi , I am working on a cross platform app(Which should runs on ios/android platform). I am using the Titanium sdk 3.1.0 . But in case of Android the custom xml file for tabgroup is not working. How can i achieve this?
'undefined' is not an object (evaluating 'Ti.UI.currentTab.open')
Hi, I have a table view in a window and ad trying to open another window on click of a tableview cell click. This is what I have for the event: ~~~ tableview.addEventListener('click', function(e) { self.fireEvent('settingSelected',...
Android Tabgroup at bottom Titanium 3.x
I was trying to put Android Tab Bar at the bottom. I tried steps listed [here](http://developer.appcelerator.com/question/130731/howto-move-the-android-tabbar-to-the-bottom) It worked in Titanium 2.1, but not working in Titanium 3.x onwards. Is there...
Login and Tabgroup
Hi , I want to have an app to login first (in fullscreen), after login, it goes to tabview.. I know I should declare the tabgroup inside app.js first, but after load the full screen login, it can never go back to the tabgroup view. may I know what...
Close All Windows At Once
Hi, In iOS there is a default behaviour, when you navigate more than one level in a window that is assigned on a tab as its main window, and then click on the tab, it goes right to the main window of this tab (no matter how deep you have navigated. I am...
Tab at bottom in Android
Hello There, How to display tabgroup at bottom in android?
Facebook-style slide out menu AND tab group
I found a quick tutorial on adding a Facebook-like slide out menu to an app ([Tutsplus](http://mobile.tutsplus.com/tutorials/appcelerator/titanium-mobile-create-a-sliding-menu-for-ios/)) which works great but uses a navgroup. However, I need to have a tab...
tabGroup always visible
Hello, i have a tabGroup with a tableView. when i click on a cell a new window opens and the tabGroup disappears. i want the tabgroup to be visible everywhere. so far this my code: Home.js ~~~ // Create a TableView. var currentWindow =...
Developing a Fixed Left Vertical Menu Tab Group
Ti SDK 3.1.0, Mac OSX 10.8, Targeting iOS (hopefully Android too) I'm trying to develop a Fixed Left Vertical-Layout view, that has a list of Buttons, in order to open Windows in a TabGroup. The way I imagined this was to have a Window (main one) which...
Alloy: splitView, positioning elements and orientationChange
Hi I work on an Alloy project under MacOs 10.8.x and use Titanium Studio 3.1.0 with SDK 3.1.0.GA. I use a splitView within a Tab and have problems positioning elements not only but especially when an orientation change event is happening. To demonstrate...
Restart Application - Tabgroups
So can someone explain to me how you add an event listener to "restart" the app by closing the tabgroup and recalling the init function? Thanks a lot. Ps.: I have an application with facebook login and using tabgroups. In one tab there's a...
Action Item in same row as Tabs
Hey, I was wondering if it's possible to create a TabGroup, paired with Action Items in one single row. I'm currently on SDK3.0/Ti3, testing on a Android 4.1.2 device. My goal was to create something like...
Tab icon disappear in tabgroup with more than 5 tabs
Hi, my iPhone app has a tabrgoup with 6 tabs.I can access the last 2 tabs (via "More..." tab) but when I open a tab and I navigate through its windows and I go back I miss the original tab icon. If I open one level (meaning i.e. I just press the...
Titanium: Tab's icon image not working
I am trying to change icons of my tab group's tab, but it doesn't show the image. For **iOS** I've used below code: ~~~ var win1 = Titanium.UI.createWindow ({ url:'Tab1.js' }); var tab1 = Titanium.UI.createTab ({ ...
tab bar at bottom in android
Hi, I am trying to place tab bar at bottom for android but I am unable to do that. I have tried with titanium SDK 2.1.4 and SDK 3.0.2 both but nothing worked for me. I have also created titanium_tabgroup.xml file inside platform/android/res/layout...
set background of more tab window in iPhone
In my solution I have more than 5 tabs so 4 tabs are visible on home screen and rest tabs ar visible inside more tab window. now I would like to customize more tab window to set its background. please tell me any available options. thanks in advance.
Android: different menus in tabgroup
Hello, I have a tabgroup with multiple tabs in my android app. The optionMenu should show different options wich depends on the selected tab. I've tested this on different devices but they behave differently. On an older device running 2.3.3 the menu is...
Close TabGroup iPhone / SDK 3.0
Hi. Im trying to close a Titanium.UI.TabGroup with tabgroup.close(). The tabgroup closes, but it doesnt seem that it is released from memory. When trying to rebuild the tabgroup, it seems like it keeps all the windows from the previous tabgroup aswell,...
Open TabGroup from button
Hi, I'm developing an Android app. How can i open a tabgroup from button click ? I use this code: ~~~ btn_open.addEventListener('click', function(){ new ApplicationTabGroup(Win1, Win2).open(); }); ~~~ but when I press back button my application...
Android Tabgroup Back Button
I have a window ~~~ var dash = Ti.UI.createWindow({ backgroundColor : $$.css.dashboard.win.backgroundColor, navBarHidden : true, fullscreen: false, zIndex : 1000000, layout : "vertical" }); ~~~ This window opens a...
How to hide tabBar on Android for sdk 3.0?
I need customize the tabgroup. Before use titanium_tabgroup.xml, now does not work. I did not see the new source code, how to implement this feature?
unable to customize tabGroup
plz anyone help me to customize tabgroup so i can change the background and the look of the buttons(tabs)with my won graphics thank you
Tabgroup Holo Theme
Im using Ti. 3 and with the xml down here I can change the tabs into Holo theme. Is it possible to adjust the width of the tabs so it wont get a swipe one if 5 tabs? The same comes to font and the blueish selected color, are they editable? ~~~ <android...
Custom tabgroup
I'm trying to create a custom tabgroup. I want to have two of the tabs have a higher height than the other three tabs (this is for iOS). When I manually set the height of the tabs, it doesn't change anything. Is this possible with tabgroups? If not,...
It's seem cannot change the tabs's background color or image, right?
i have tried the tabsBackgroundColor and tabsBackgroundImage with TabGroup, but nothing happen, how can i change the tabs's style? i mean change the bottom tab's background not just set it's icon. thanks~~
how to create custom tab bar
Hi, I want to create a custom tab bar, with custom images (normal and selected), and other way to open the windows asociated to this tabs. For example... I have 4 tabs: Tab1, Tab2, Tab3, Tab4 For example, if I open the Tab2... this tab open with...
Titanium Android tabGroup exitOnClose
I have tabGroup in my app.js. I would like to prevent the application from closing when user presses the back button. How can I use exitOnClose as there is no window defined in app.js ~~~ var tabGroup = Titanium.UI.createTabGroup({id:'tabGroup1'}); var...
Custom tabgroup
Hi all, Any idea about how to create a custom tabgroup. IN my app i have 5 tabs in bottom and 2 tabs in top, and when click on one tab, the tab window has to open and the tab icon color need to change suggestions plz................
Alternative method to load a js file a tabGroup
I have a big problem with no solution for developing apps for android, is there any alternative method to load a js file in a tabgroup without the typical "url: file.js" in the statement. Thanks!!
iOS vs Android Window Close
Hi, In iOS i tried to close a window with `win.close();` and it never worked (it just made everything back but did not go back also) so instead, I use : ~~~ Titanium.API.currentTabGroup.getActiveTab().close(win,{animated:true});| ~~~ currentTabGroup is...
giving to the community: custom tabgroup class working on android and iphone
this is a custom tabgroup class done in js by using standard ti-mobile view-classes that will look the same on android and iphone. i used this for an app called "A1 BVB Grand Slam" that was released for Android some days ago, and will be in the...
Navigate from one screen to another
Hello everyone, I have used Titanium sdk 1.8.2 using simulator 4.3. I have used tab group and i i want migrate from one screen to another. Ti.UI.currentTab.open(win); Ti.UI.activeTab.open(win); These both are not working for me. Please help me Thanks...