Menu

Wednesday, December 24, 2014

How To Add Custom Toolbar In Open UI Mobile

Custom toolbar can be viewed in Open UI Mobile by modifying jqmtoolbarrenderer.js as follows:

Look for an html element with ID like this:

var w = m.replace(/\s+/g, "-").toLowerCase();
var s = $("#siebui-toolbar-" + w);

where m is the custom toolbar name.

Set the Id according to this in the swt file and then custom toolbar can be seen.

No comments:

Post a Comment