test/activity/image_button_activity.rb in ruboto-0.10.2 vs test/activity/image_button_activity.rb in ruboto-0.11.0.rc.0

- old
+ new

@@ -2,10 +2,10 @@ require 'ruboto/widget' ruboto_import_widgets :ImageButton, :LinearLayout, :TextView class ImageButtonActivity - def on_create(bundle) + def onCreate(bundle) super set_title File.basename(__FILE__).chomp('_activity.rb').split('_').map { |s| "#{s[0..0].upcase}#{s[1..-1]}" }.join(' ') click_handler = proc do |view| @text_view.setText 'What hath Matz wrought!'