Each tab bar item defined in the above sample defines the following tab elements:
require 'rho/rhoapplication' class AppApplication < Rho::RhoApplication def initialize # Tab items are loaded left->right, @tabs[0] is leftmost tab in the tab-bar # Super must be called *after* settings @tabs! @tabs = [ { :label => "Home", :action => '/app', :icon => "/public/images/whiteButton.png", :reload => true, :web_bkg_color => 0x7F7F7F }, { :label => "Employees", :action => '/app/Employee', :icon => "/public/images/whiteButton.png" }, { :label => "Companies", :action => '/app/Company', :icon => "/public/images/whiteButton.png" }, { :label => "Settings", :action => '/app/Settings', :icon => "/public/images/whiteButton.png" } ] @@tabbar = nil super # Uncomment to set sync notification callback to /app/Settings/sync_notify. # SyncEngine::set_objectnotify_url("/app/Settings/sync_notify...