test/activity/option_menu_activity.rb in ruboto-0.11.0 vs test/activity/option_menu_activity.rb in ruboto-0.12.0.rc.0
- old
+ new
@@ -15,10 +15,9 @@
end
end
def onCreateOptionsMenu(menu)
mi = menu.add('Test')
- # mi.icon = $package.R::drawable::get_ruboto_core
mi.setIcon($package.R::drawable::get_ruboto_core)
mi.set_on_menu_item_click_listener do |menu_item|
@text_view.text = 'What hath Matz wrought!'
toast 'Flipped a bit via butterfly'
end