test/activity/navigation_activity.rb in ruboto-0.9.0 vs test/activity/navigation_activity.rb in ruboto-0.10.0.rc.0
- old
+ new
@@ -1,10 +1,10 @@
require 'ruboto/activity'
require 'ruboto/widget'
ruboto_import_widgets :Button, :LinearLayout, :TextView
-class NavigationActivity < Java::OrgRuboto::EntryPointActivity
+class NavigationActivity
def on_create(bundle)
super
set_title File.basename(__FILE__).chomp('_activity.rb').split('_').map { |s| "#{s[0..0].upcase}#{s[1..-1]}" }.join(' ')
self.content_view =