Community Questions & Answers
Impersonating the NavigationGroup Back Button With the LeftNavButton in Alloy
Hi there- I am customizing my NavigationGroup and TitleControl/Buttons to yield a clean/flat look within my Alloy application (sample code below). In doing this, is there a way to mimic the "Back" functionality that comes out of the box from...
how to hook an event listener to window out of focus or leftNavButton click
platform : iphone , appcelerator sdk = 3.0.0.GA If I hook it to blur event, what is happening is, it is being called everytime the window goes out of focus, even on the instance that was closed before. So in essence this handler is being called duplicate...
Problem with custom leftNavButton click event
Hi guys, I've got a strange problem with a custom styled leftNavButton. I've managed to completely change look the of the leftNavButton, and the addeventlisteners are working perfectly as well. However, whenever I directly tap on the button, I get this...
Alloy same function for leftNavButton across several tabs
I have a Tabbed interface where several of the windows have the same button in <LeftNavButton> and need to execute the same code. Is there a way to attach the click listener only once to keep things DRY?
[Alloy - iOS] Layout issue with TopBar Left/Title/Right controls with Facebook button and TabbedBar
Hi, I'm facing a curious bug using Alloy and i don't if it's me or a primilary bug of this new great framework... I'm would like to add control into LeftNavButton / RightNavButton / TitleControl. I've tried to reproduce the quick example showed in Alloy...
restore default backButton
Hi, I've been wondering this for a while. Is there a way to restore the leftNavButton as the default back button? I have an app that needs to load some stuff before the default back button appears, so my workaround is to set it as null and then set the...
iPad SplitView show/hide leftNavButton
Hello! I'm working with a SplitView in an iPad app. Seems pretty basic, but I'm having trouble figuring out how to show/hide the leftNavButton based on orientation. I've looked around quite a bit, and I'm finding a lot of the same code, so I'm thinking...
Barimage flashes when clicking custom leftNavButton
Hi, I have a problem where to barImages flashes when i click the backbutton in the titlebar. The setup is a TableView where the rows have children. when i click one of the rows the child opens as it should and everyting looks great. But when i click the...
How to remove 5px padding from native navigation bar for square leftNavButton?
Trying to use a square leftNavButton however can't remove the 5px left padding of the navigation bar to go away. ~~~ var infoBtn = Ti.UI.createButton({ style:0, backgroundImage:L('infoBtn'), //localised to...
Remove leftNavButton/rightNavButton from Popover Crashes App
I have an popover with a leftNavButton, but in one moment a need remove this button, when i call: ~~~ mypopover.leftNavButton = null; ~~~ the App crashes! what i'm do wrong? This occurred in 1.4.1.1, 1.4.2 and 1.5.0 (04/11)
RightNavButton and LeftNavButton Not Displaying in 1.8.1
There seems to be a bug in SDK 1.8.1 on iPhone 5.0 simulator where the Right and Left Nav Buttons are no longer visible when returning to the window from a "Back" action in a Tab. This is only the case when the window has both the barImage and a...
Change leftNavButton title after creation
After creating and displaying a window, which includes a custom leftNavButton, I have an issue where I cannot change the title of, or reassign to a new button object, to the existing leftNavButton. Basically the LNB is an 'Edit' button to enable the...
Multiple Nav buttons
Hi, Is it possible to have two left nav buttons next to each other in a windows navigation bar?
Unexpected animation behaviour when using custom leftNavButton
Please check the kitchensink app in order to understand what I mean: Base UI -> Window NavBar -> Back button BG Now push the "BG nav" button at the top and notice that the navbar will not be animated any longer. Normally I would expect...
Custom back/leftNav button slow to load?
I've customized the back button on a window of my app in order to make its color consistent with my custom navbar. My problem is that it takes a moment to load and, therefore shows the native back button for a second before it loads my custom back button....
problems with navbar buttons ( rightNavButton and leftNavButton)
Hello Guys. I'm having some trouble regarding navbar buttons. I have a navgroup set and all works great on back buttons.. I have the default left backbutton on my navgroup and i set my window rightNavButton a view that contains a set of 3 buttons ) the...
Left and right nav buttons without tabs?
Is it possible to put right and left navigation buttons if my window is not opened in tab? I don't want tabs in my app but I would like to have navigation.
BarImage and leftNavButton of childs
Hi, in my main windows I use a barImage and not the title property. When I open a child window, since the title property of the parent window is not set, the leftNavButton of the child display "Back". This is very problematic for me since my app...
Remove Left Nav Button in Navigator Groups via empty view question
I wanted to remove the left nav button and came across [this post](http://developer.appcelerator.com/question/118196/remove-left-nav-button). This works, but every time I run the app I get this console warning for every view as it loads: ~~~ [WARN]...
Change splitview leftNavButton text
This changes the text when I change orientation. ~~~ splitView.addEventListener('visible', function (e) { if (e.view == 'detail') { e.button.title = masterWindow.title; detailWindow.leftNavButton = e.button; } // hide it else if (e.view ==...
leftNavButton and barImage disappear/ behave chaotically in NavigationGroup
Hi, I have trouble getting a custom styled iPhone navigation bar to work. It seems that using a custom barImage and a leftNavButton at the same time is bugged as soon as you get more than one layer of windows deep in a navigationGroup. The following is...
How to disable leftNavButton's default animation?
I have the following code: ~~~ hiApp.places.addButton = Titanium.UI.createButton({ systemButton: Titanium.UI.iPhone.SystemButton.ADD }); hiApp.places.refreshButton =...
how to display 'leftNavButton' in tabGroup?
Hi all, I'm having problems displaying a back-button in the form of a 'leftNavButton' within all the pages of a tab group. ~~~ var tabGroup = Ti.UI.createTabGroup(); var tab1 = Ti.UI.createTab({title:'tab1',url:'page1.js'}); var tab2 =...
setLeftNavButton Fades in automatically
Looks like it's undocumented but for some reason setting the leftNavButton on a window makes it fade in when the window is shown, righNavButton just appears fine. Anyone else had a problem with this? I've added it to a default project and it definitely...
Show window title on window.leftNavButton but not on window itself
This might be a bit odd but the client would like to hide the window title on the actual page itself but display the title on the next window's leftNavButton object. As far as I've found this is a bit tricky because the only way to hide just the window...
Remove left nav button
Hello I would like to remove my left navigation button so the user can't click back to the previous page. I tried to do it by setting ` leftNavButton:null ` property when creating the window, but that didn't work. I also tried `...
TabGroup back button out of sync on child close
I have a TabGroup with 8 tabs in it, so it shows the "More" tab as the 5th. The More tab shows my other 4 tabs. When you click on one of these extra 4, the new window slides in from the right as expected and the leftNavButton shows...
Custom leftNavButton (Back-button)
Trying to make the "back" buttom get a custom color or bacground image.Can't get it to work. Any tips? Thanks in advance. ~~~ // create table view event listener tableview.addEventListener('click', function(e) { if (e.rowData.test) { var...
How to prevent leftNavButton from flashing, blinking?
Hello, perhaps a stupid question but this is bothering me since a few months. Whenever i use a custom back button for the navbar, the button flashes (fades in) on window focus. Even when i navigate back to a window, the leftbutton flashes shortly. These...
simulate button click / touch
i have a tableview that has a child. it opens a new window for edit. once the record is updated i would like to simulate a click of the leftnavbutton to go back to the previous window. any help on this would be great.
Showing 1-30 of 30