Community Questions & Answers
No way to hide tabbar on Android?
I'm trying to convert an already-built iOS app to android but having issues trying to hide a tabbar which appeared at the top of the screen. It doesn't appear on iOS. Do tabbars have to appear on android for some reason? It's too big of a job to rebuild...
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...
How to open a window through a tab
Hello everyone, I've created a tab, in wich I've added this code: ~~~ var tab1 = Titanium.UI.createTab({ icon:'KS_nav_views.png', title:'Tab 1', window:win1 }); ~~~ This is the code of win1: ~~~ var win1 = Titanium.UI.createWindow({ ...
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...
Changing TabBar backgroundColor
Hello, has anyone had the chance to solve this : http://support.appcelerator.net/discussions/titanium-mobile-discussion/1606-possible-to-change-main-tabbars-color it looks like there is a way to do it in objective C http://silentmac.com/?p=386 thanks...
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?
Why I cannot create a mapview in current window?
If i remove the mapview.It can open a new window.Can anyone help me with this? Here is my code ~~~ var win = Titanium.UI.currentWindow; var b6 = Titanium.UI.createButton({ title:'Open...
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.
Background gradient in Android tabs
Can someone please tell me how to get a background gradient in a tab on Android? I've tried backgroundImage backgroundSelectedImage, backgroundGradient but none of them worked.
Replace window on current tab
I'm trying to replace the window on current tab by clicking on button, but I can't figure out how to do this. Before I just tries to open window in tab without animation and hiding back button, but the problem was when you clicking on tab icon the first...
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...
Change font size on title text for a tab
I have 4 tabs and need to change the font size on the tab titles, is this possible.
Place image over website opened in tab?
Hi everyone. I have an app where one tab will open up a web page within the app. At the top of this web page, there's a few links that if you click on them, ruin the whole functionality of the app. What I'd like to do is place an image running along the...
Refreshing tab content
Hi, I have a two tabbed alloy app. Login button that triggers authorization on webservice and if successfull trigers an event defined in the index.js. Content of both tabs are reuired like this: ~~~ <Alloy> <TabGroup...
self.containingTab.open opens Window in a Different Tab? (code provided)
Ti 3.0.2, Mac OSX: I am trying to open a Window in Tab myVehicles, and when I do, nothing happens to that Tab, but gets open in Tab assistance? ~~~ // Has Account show Tab Group var tabgroup = Ti.UI.createTabGroup(); var...
Ti.UI.currentTab.open(window) opens outside of tab
I have an application with a basic tabgroup - 5 tabs to be exact - Inside those tabs i have the need to sometimes open a subwindow and still stay on the tab or at least still have the tabbar showing. So whenever i need to open a window from a tab i use...
Icons missing from Action Bar tabs
For an Android build, I set the Holo theme, setTargetSdkVersion="14", minSdkVersion="8", and there is a nice action bar tab group for Android 3.0+ and the fallback standard tab group for Android 2.x. However, the tab icons don't show up...
Want to display tab bar in bottom
I want to display tab bar in bottom of the phone in android. Also want to reduce the size of the tab bar.
How to show the root window after opening multiple windows
Hi there, When I create a single tab inside a tab group and create some windows in it, the windows are stacked and I get a 'back' navigation button when running it on the iPhone. How do I get back to the root window, without clicking away multiple stacked...
custom tab group
i need tabs and tabgroup to be customized as shown in imaged bellow:  is that possible for android?
NavBar's Tab stucks on "More" - Alloy Framework
Hi! I am currently playing with the Alloy framework. I have a TagGroup. The first tab is a dashboard displaying some icons. Each icon is triggering an event which activate setActiveTab of the tabGroup. My problem is I am trying to modify the navbar which...
Titanium.UI.currentTab.open doesnt work on Android?
Does this not work on Android? Most of my apps have been with iOS, and it works on the ones set up in the app.js. The windows being created are just your standard window, but when I try and use this method in Android, I get a "Can not call method...
View adding problem
hi. I want to ask something.I have 4-5 child view js file and include main js. My app tabbed app. and I added wiew first window and second window .I see first window and second window.and go back to second window to first window I cannot seee child view....
adding problem
Hi, I m using Ti 3.0 and develop for ios6.and my application have many tab.and I want to add my view to four tab.please help.
Using TabbedBar to switch between different "views"
Hi. I am having trouble using tabbed bar. I am using tabGroup to have 2 different tabs when the app starts. For certain tabbed views, I want to have additional tabs that the users can switch back and forth. `app.js` ~~~ // create tab group var tabGroup...
maximum number of tab
Hi, I m using Ti 3.0 and developing for ios 6 and I have problem with numbber of tabs.My ipad apps landscape and it show only 7 tabs and more tab. I want to seee all tabs in lowerside in my apps.
Alloy Creating a Tabbed Bar to switch views within a Tab Window
Hi. I am making my very first iOS and Android app. using Titanium Alloy and I need you guys' help! I want to make an app with 4 tabs and each "tab view/window" should have two or three tabs that you can switch back and...
Splitview on ipad and tabgroup
Hello, i've a question about "best practices" or if this approach is correct. i have an app that uses tab as if main navigation, but, i want to use a splitview when using iPad, to one of its tab views. the main problem i have is, that this view...
Tab at bottom in Android using the latest Titanium
Hi all, My application needs to show tabs at bottom in both iOS and Android. I searched the web and found some articles to see how to do that in Android, but none of those solutions seem to work any more. For example, I tried out solutions like this but...
Newbie Alert! I need help with creating separate windows under each tab and button associated to that particular tab, please!
Hi, I am new to all this, I have been assigned a final year project at University and I am creating a Tourist Board Marketing tool app. I have started to play around with this and have managed to create my tab buttons along the bottom of the iOS...
Active tab of tabGroup
Hi at all, i have a tabGroup: ~~~ var win1 = Titanium.UI.createWindow({ navBarHidden:true, backgroundColor:'#4A5870' }); var tab1 = Titanium.UI.createTab({ icon:'83-calendarBB.png', title:'Calcetti', window:win1 }); var win2 =...
Photoshopped Android Screenshot? Need advice
http://postimage.org/image/z3bu7tc13/ Someone send me a screenshot of an so called Android App tab version. I suspect this is photoshopped because of the rounded edges. Imo the android time info is pasted above an Ipad screenshot. What do you guy's...
setActiveTab called but active view controller could not be determined
On the index page, I load a couple modal windows and then need to show the tabs once the information is obtained from the modal windows. I am using eventListener's send information back to index.js. When I am ready to load my tabs I receive this error:...
What are the optimum icon size for Tabs on Android
Hi, What are the optimum icon size for Tabs on each Android densities? Regards
Is it possible to have tabs that nest 3 layers deep?
For example, You have an Alloy project with 2 tabs. The first tab contains a window with a regular button. When the button is clicked a tableview is then loaded inside this tab. When a row is clicked a detail page is loaded inside this same tab. And all of...
close multiple sub windows in a tab
in tab 1 i have three sub wins win1 win2 win3 win4 how do i close win4 and win3 from win4 and return to win2 i have tried to fire and event back to win3 and tried to close it but that did not work
go to root window of tab
i have tab1 and tab2 tab1 root window is win1 in tab1 subwindow is open which is win2 now i go to tab2 which i go back to tab1 i still see the subwindow open which is win2 how can i make win1(root window) show every time i go to tab1
tabs design like web browser (e.g. firefox, chrome...)
Hello! I have to simulate a design like a web browser, showing info inside several views (like tabs) indicating which view is active at each particular moment. With the actual design of my app, this kind of "browser" has to be inserted in a...
create imageView below the tab on iOS
I have a iOS project using Titanium SDK, and the application likes like this: ---the top of the phone-- ????? ???? ???? tab1 tab2 tab3 ---the bottom of the phone-- It's mean, I have some tab on the bottom of the win by using...
set tab to not active when other tab is active
I am creating a custom tabBar for Android that looks like the iOS tabBar. Now I have the tabBar at the bottom and each tab is has a dynamic width so that you can have virtually as many as you want as well I have the active states for each button working....
Design Pattern Q - Tab Group App (preventing highlighted tab click to go back to first window in stack)
This is a mobile design pattern I'm not familiar with, and surely has been resolved. The idea is... I have 2 Tabs (first & second tab) Application. **As** the App `loads`, the **first tab** is focused by default, and the containing **window** checks...
How to return to the root window of my Tab?
Hello! I'm using Titanium mobile 1.6.2 for iOS. Question:__How to return to the root window of my Tab?__ (the one given in parameters when you create the Tab) It's seems simple since you just have to click on the tabGroup in order to return to the root...
how to make the tabs load their default win
i have two tabs tab1 and tab2 tab 1 have win1 and win2 tab2 have win3 and win4 tab 1 loads win1 by default and then it links to win2 at that point when i go to tab2 and then come back to tab 1 i still see win2 how i can make the tab to always load...
tab click
Hi, My problem is: if a tab opens a second window and I tap on that active tab again, it goes back to the firstwindow. I dont need to comeback to the first window because in the first window i have a poll and when we vote, the first window is desactived...
Opening window problem
I have the following error while trying opening the photos window in album.js: 'undefined' is not an object (evaluating youtube.photosResult.createPhotosWindow) at home.js line 72. what can I do? this is app.js: ~~~ var VARS =require('globals'); //Here we...
tab focus and blur
hi, i have this event on tab : ~~~~ var tab5 = Titanium.UI.createTab({ icon: 'images/sondage.png', title: '???????', window: winSondage }); tab5.addEventListener('focus', function(e){ alert('focus'); }); tab5.addEventListener('i',...
call function defined in other tab
i have app with three tabs tab1 and tab2 and tab3 tab1 is a login window how can i call a export function defined in tab2 and tab3 from tab1 ?