Community Questions & Answers
Sidebar navigation like dropbox, gmail on ipad
Is there any documentation or thoughts on how one could go about implementing the sidebar navigation UI that we see in tools like DropBox or Mail, where you can click on an element and then go to a deeper level? An example can be seen at the following...
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...
Titlebar doesn't show
What am I doing wrong? According to the documentation, the window property `navbarHidden` defaults to `false`, meaning the navbar will be shown by default. The following code in Titanium 3.1, and perhaps in prior versions, doesn't display the...
Navigation view doesnt remove the some controlls of parent view ?
//Application window function ApplicationWindow(title) { var self = Ti.UI.createWindow({ title : title, backgroundImage : '/iPhone_Normal/splash_bg.png', navBarHidden:true }); var view = Ti.UI.createView({ height : 100, width : 278, bottom...
MobileWeb - Not possible to close first window within NavGroup
Hi all, it's not possible to close the first window within a NavGroup on Mobile Web. **Code to reproduce** ~~~ var win = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'red' }); var rootWindow = Ti.UI.createWindow(); var navGroup =...
Add picker in navbar
I want to add a picker in my ipad navbar. does anyone know how to do this?
Custom NavBar button
Hi, unforunately I've got again big problem with Ti. Problem is - How to make own/custom navigation bar button (For example own BACK button or DONE button... ). Problem is especially in size. Background image is too big or too smal also when I change...
NavBar/Toolbar - Transparent BG
Hi, please is there some way how to set transparent BG on a NavBar or a Toolbar? I tried milion ways including the image background ,but it is not wokring...Thanks
barImage breaks navgroup animation
On iOS I've added a barImage and add some controls like a TitleControl and LeftNavButton to two windows. When navigating between these windows via a navigationgroup, the whole navbar changes instantly rather then smoothly animating from one direction....
Stretch a searchbar on a navbar
Is there a way to stretch a searchbar control in the <TitleControl> part of a Window? I want it to stretch to fill the navbar area when it is tapped.
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...
Using barImage makes "title" disappear / reappear when opening new window (iOS)
If I use a barImage in a Window inside of a NavigationGroup, and I open a new Window (with the same barImage) in that NavigationGroup, the title goes away while transitioning and reappears (very rough, does not transition smooth like when I don't use a...
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...
Using the close method on navgroups in Alloy
Alloy: 1.0 Titanium SDK: 3.0 iOS: 6.0 iOS iPad Simulator: 6.0 I am fairly new to alloy and I have a simple question. I am trying to create custom navigation for an iPad app using the <NavigationGroup>. I can move forward okay using...
button color not changing in nav bar
I am adding a button to the right of the nav bar and setting the color as blue. But it seems to be black. Any idea why ? ~~~ var self = Ti.UI.createWindow({ barColor : '#000000', backgroundColor : 'white' }); var edit_button =...
Back button issue in iOS
Here is the code for retrieving RSS from the URL: app.js ~~~ var win = Ti.UI.createWindow({ backgroundColor:'#fff', tabBarHidden:true }); / create and set right button var rBtn = Ti.UI.createImageView({title: 'Settings',...
Alloy SplitWindow with NavigationGroup on iPad
Hi, I'm trying to get a master/detail view working in Alloy on an iPad. The split window works but it doesn't have navigation groups (in simulator or on the device). From the docs it looks like the navigation groups are added to both master and detail...
iOS6 Navbar adds shadow automatically
iOS 6 automatically adds drops shadow to the navigation bar that cannot be disabled through Titanium (2.1.3). See the objective-c solution...
Navbar height changing?
Hi Folks, I m using Ti 3.0 and I m developing ipad apps (ios 6)...Can I change navbar height and back icon? How can I style this ? [Nav...
Alloy - Navbar height is wrong
Hi, i am working on a iOS app using Alloy 0.3.6 and SDK 3.0.0. While design the app i realized that the navbar is not 44dp as it should, but 43dp. To verify this i created a new alloy project with the following...
Customize navigation button?
1, [Here](http://i.imgur.com/OOAEE.png) is a navigation i would like. How to set background for a button with style BORDERED? 2, Google Youtube mobile app: when we touch navigation buttons, they have a light circle behind them, like using system button on...
slide window to right. for example setting button IOS
Hai, i'm very new to titanium. Wy does i tap de add system button pop up the screen from below? i want that screen slide to the right. For example if you have settings(iOS). if you tap a button goes te screen moved to the right. if ready someting form...
Navbar moves up in nav group. How to move down?
Hi, I added a nav group with 2 windows into a tab. Now my navbar, which is a custom image, moved up by a few pixels. It is noticeable because it covers the shine on the top of the bar. If I change the top property, it moves the window below the...
Change or remove gradient title bar on tab / nav group?
As the title, is there an easy way (or any way, for that matter) to change the title bar on Navigation Group or Tab Group? I'm trying to get that flatter, modern look... like pocket, flipboard, or readability. I know there's _Window.barImage_ property to...
Change color of button background in iOS navigation bar?
I have a button I'd like to set as the right nav button in my main buttonbar, but no matter what I do it only takes on the color of the buttonbar itself. Is there no way to override this? ~~~ var btnSimpleBegin = Ti.UI.createButton({ title :...
Layout messedup when phone returns from screenlock
If the phone goes on the lockscreen and returns on again, the navbar will be shown for a split second and will disappear. Which is normal behavior. In win1 it works fine. My layout has been built 'under' the navbar so when it disappears, everything looks...
How to fire event before back button is pressed?
I want to alert the user who presses the back button, before the button is activated, that he will lose his session/window data. How can I accomplish this?
Popup window with scrollview right when app opens
I am currently designing an app for iOS and right when the app opens (in the app.js file) I would like a window to popup that includes a scrollview to give users a quick tutorial of how to do things before they continue into the app but when I start the...
How to set nav bar visible using Alloy
I am trying Alloy. Below is the index.xml and index.js file that I have. I am not able to make the nav bar visible. Anybody can point out what I need to make it work? index.js ~~~ function closeWindow(e) { ...
MobileWeb doesn't update a Window's Title
Hi, I'm experiencing an issue with MobileWeb. I'm trying to update the "title" of a window but the displayed title within the NavigationGroup isn't updated. Example code within Alloy Controller ($.index references to a...
Rounded Corners on iOS Navbar
Hey guys, This may be a simple answer, but just wanted to make sure that I had all of the ways figured out (or learn better ways if I don't). My end goal is to have that really stylish looking "rounded navbar" that most apps have these days in...
navbar tab bar problem
how to add navbar above the tabbar in titanium android?
Mobile Web: Change the Navigation Group title properties?
I have a mobile web navigation group. SDK 2.1.1 fixed the bar color and right nav button issue, but how about the title in the bar:  How can I change the...
How to mimic FourSquare's toolbar above tabGroup?
What's needed to create the toolbar seen above the tabgroup in Android? Would I need to extend the tabGroup module? Is that toolbar just a view with a background image or gradient? Hints? Ideas? Example: [http://imgur.com/OrKeI](http://imgur.com/OrKeI)
Hide navigation group bar in mobile web app?
I seem to remember there is a way to NOT have a standard navigation group bar in a mobile web app, however I've forgotten and can't locate. Anyone? I'd prefer to add my own previous/next buttons. ------ SDK 2.14
Native backButton eventlistener? possible?
I'd like to have an eventListener on backbutton of the iPhone. I know i can make a custom backbutton, but this is not native! Its the native backbutton i want, there should be a way of knowing when this button is pressed. As for the reason: When i press...
BreadCrumb NavBar custom
Hi Team, I need build a bread crumb menu for iPad app, any reference how build it? thanks
concept question about navbar in modal window
i have a situation in an app where a user has a prev/next to display windows - and this could be 1 or 50 views either way - since i dont want the prev/next in new nav window (a user could have to use "back" a number of times) i thought about...
Why do I lose my tabs and navbar when displaying my table?
Hello. I'm putting together an app to both read and write data to a MySQL database. The basic functionality works well. My problem is that when I 'click' the tab to go to the page that displays the database content (in a table with sections) I lose the...
only for abcdefg sadfdsds
Hello Dear, why are you doing like this ??? Please stop this... If you don't like this community then don't use it.. Thank you !
tabGroup in iOS gives malloc error with NavigationGroup
I have one iOS mobile program that calls another using NavigationGroup. The called program uses a TabGroup. The first time the TabGroup is called, it works correctly. After going back to the the first program and then calling the TabGroup program again,...
Using custom titleControl and BG image causes navbar buttons to disappear during navigation
This problem deals with Titanium 1.8.2 for iOS. The setup: I have a navigation group, N, which hosts two windows in series, A and B. When I create window A, I create and attach left and right navbar buttons. Based on user input, I trigger a transition...
NavGroup in a webview?
Hey, does anyone know how to set a nav bar to a webview so I can implement a back button to close it when a user is ready. The segment of code below is what I have for the webview as well a the event listener for the button which which launches the webview...
Hiding of nav Bar in mobile web
Hi, I am developing a Titanium app in which a web view is used in a window. As per the requirement I should not show the navigation bar incase of that particular window. So to hide the navBar I used a property called 'navBarHidden:true' while creating...
How to change the fontcolor of a leftNavButton?
Hi, I wonder how to change the fontcolor of a leftNavButton. When I make a Button like this: ~~~ leftnavbutton = Titanium.UI.createButton({ color: "#3c4de2", title: "Test" }); ~~~ And add it as leftNavButton to a Window...
Custom Navigation bar on IOS
Hi, I have built up my own navigation bar using views, buttons and image views. I'm wondering now if my App will be rejected by Apple because i am not using the standard navigation bar, i have it set to hidden. Does anyone know or have any experience...
How to set the splash screen always portrait orientation in the application?
I have to set the splash screen image orientation set to portrait mode.How to do this.please help... Here is my code in the app.js... Ti.UI.orientation = Ti.UI.PORTRAIT; Titanium.UI.setBackgroundColor('#DBF4FF'); var admn = { navBarHidden:...
Solution: setTitleControl - Titles are hiding behind navbuttons
Not a question actually, but a full Q&A. Just trying to help others that may have the same issue right now. I just installed the 2.1.3.GA version and had some issues with the setTitleControl method on iOS6: Titles were hiding behind left/right...
Navbar flickers to black when going back to main screen
Okay. For iOS, I have my home screen's navbar hidden: `navBarHidden: true` and all child screens' nabbers shown: `navBarHidden: false` This gives me a nice, custom home menu while maintaining iOS styles in other windows. However, when I go back to the...
How to change Font in NavigationBar?
When I change color in the navbar I do like this: var win = Titanium.UI.createWindow({ title:'', backgroundColor:'', backgroundImage: '', url: '', barColor: '#555' }); How do I change the font?