The Toolbar widget is unusual in that it only applies to iOS applications and can not be added using the visual tools in Kony Visualizer. To add the widget to your application you must use the kony.io library function kony.ui.ToolBar({}) passing in a list of key-value pairs.
var myToolBar= new kony.ui.ToolBar({ "isToolBarBottomAttached":false, "tintColor":"3c4d32", "barStyle":constants.BAR_STYLE_DEAFULT, "barTintColor":"ef5151", "translucent":true, "zIndex":1, "left":"0%", "width":"100%", "height" :"10%", "top":"90%" });
The keys for this data include:
These keys are also exposed as read-write properties on the toolbar object. See the Toolbar Properties section for more information on this.
prem | Copyright © 2012 Kony, Inc. All rights reserved. |
prem | Copyright © 2012 Kony, Inc. All rights reserved. |