Community Questions & Answers

Quickie Newbie Alloy Question

Hi All, Working with Alloy for the first time and loving it. Im still migrating my brain to the new xml markup and just wanted to know if there was a way you can attach a keyboard toolbar to a textfield in the view xml. ~~~ <Alloy> <Model...

Add toolbar in touchevent window

I currently have a window that has opened from a touch event in the app.js which is a scrollable gallery but for some reason the toolbar that I want is not showing up on the bottom of the windows. I am coding for ios and using the latest sdks and...

toolbar is not visible in iphone 3gs

Hi, all toolbar is not visible in iphone 3gs when i used the below code ~~~ var send = Titanium.UI.createButton({ title: 'Send', style: Titanium.UI.iPhone.SystemButtonStyle.DONE, }); var camera = Titanium.UI.createButton({ systemButton:...

Toolbar overlaps to WebView

iOS App SDK 2.1.4 - iOS simulator Hello, I have a problem with a toolbar, it overlaps on the webview and keeps a small part of the webview hidden, my app is intended to be universal. This is my code. ~~~ var self =...

Change button style in toolbar

Is it possible to update a button style inside a toolbar (e.g. showing which button was clicked/is selected). When I try to set `_btn1.setStyle(Titanium.UI.iPhone.SystemButtonStyle.BORDERED);` or `_btn1.style =...

FLEXIBLE_SPACE emulation in Android

Hi, I'm having some trouble trying to emulate `Ti.UI.iPhone.SystemButton.FLEXIBLE_SPACE` and wondered if there's any suggestions (or native functionality I haven't noticed). At the moment I have a temporary work-around to emulate a toolbar, where if there...

iOS Toolbar Background Image

Is it possible to have a background image for a toolbar in iOS, specifically on the iPad? ---------- I know that there is a [doc](http://docs.appcelerator.com/titanium/2.0/index.html#!/api/Titanium.UI.iOS.Toolbar-property-backgroundImage) that shows a...

Toolbar background image problem

How can I add a background image to a toolbar I have at the foot of a window? I have tried both barImage and backgroundImage without success. I am using 1.4.2 (1.5 causes me too many problems). Below is my current code. var toolbar1 =...

Buttons in Toolbar

Hi. Can we have custom buttons in toolbar? I would like to have the FB like hand as a button in my toolbar but i cant get it to work. ~~~ rightButton = Ti.UI.createButton({ backgroundImage : 'images/like.png' }); ~~~ or do we have to use...

How to implement WeChat like toolbox

Hi, there I am new to Titanium. I want to create an app that has functionalities of messaging, voice messaging and sending pics/ videos. I want to combine all these functionalities in a toolbox in the bottom, just like WeChat does....

How to remove shine from a Toolbar

In my application I have removed the gloss/shine and have a flat color on all my navigation bars, by adding the following to my .jss file ~~~ barColor: '#1d5a90'; barImage: '/images/bg_bar.png'; ~~~ but I am unable to use the same technique on a ...

Toolbar working on ipad but NOT on iphone

Can anybody point me in the right direction as to why this doesn't work on the iphone simulator : ~~~ mainWindow = Titanium.UI.createWindow({ title: 'iOS Toolbar Test', backgroundColor: 'black', navBarHidden: true, modal: false, ...

Toolbar generating an error

The following code: ~~~ var cancel = Titanium.UI.createButton({ title : 'Cancel', style : Titanium.UI.iPhone.SystemButtonStyle.BORDERED }); var done = Titanium.UI.createButton({ title : 'Done', style :...

Transparent toolbar

Can the Toolbar be made completely transparent so that only buttons show .

Toolbar disabled on popover on Ti 2.02GA

I face a strange problem on iPad. I have a toolbar on a popover, the first time the popover is shown, no problem, the problem occurs at the second time, I see the toolbar and the buttons but I cannot click on them. It seems that the first time the popover...

Show/Hide Button in toolbar

I have been trying to show/hide a button in the toolbar without success. Even when I add the button with the property of visible=false it still displays. ~~~ // create a button to close window var myButton =...

ToolBar images with label in iOS

Hi Guys. Frist I would like to thank everyone in the community for their awesome support, it's really given the kick start I needed to get back into Ti again after a long break. Anyway... :-) I need some help with tool bars. I've got a non tabbed window...

One-pixel line below toolbar, why?

I have an iPad app with a View and a toolbar at the bottom of it: ![](https://img.skitch.com/20120514-b78ucaef9mh2aguxtngmc2y2fy.jpg) The view is that white box with the orange border. I have set up the toolbar like so, but as you can see it's not flush...

Add top Toolbar to Window

I am currently developing a testing application where I want it to fire a bunch of questions at someone, but when someone gets the answer correct and clicks to move on to the next question, the top toolbar disappears - I have tried to add it to the next...

Passing a button to a constructor?

I have been using this method to create repetitive objects in my iOS app, with items like labels, views, and buttons. I am now trying to use this to have a constructor for a toolbar where I pass the button, but it fails, complaining that "btn"...

Best way to add Bar with logo on top

I'm trying to add a bar on top of my android/iphone app, which is black, 100% wide and about 1cm high. It has the logo in the middle, which can be a label with a custom font I have 5 windows and I'm wondering what's the best way to add a bar like I...

548 views
asked 1 year ago by Joris
last activity 1 year ago

Showing 1-50 of 142 1 2 3