test/sqldroid_test.rb in ruboto-1.1.2 vs test/sqldroid_test.rb in ruboto-1.2.0
- old
+ new
@@ -36,10 +36,10 @@
class RubotoTestAppActivity
def onCreate(bundle)
super
setTitle File.basename(__FILE__).chomp('_activity.rb').split('_').map { |s| "\#{s[0..0].upcase}\#{s[1..-1]}" }.join(' ')
- adapter = MyArrayAdapter.new(self, android.R.layout.simple_list_item_1 , AndroidIds::text1, ['Record one', 'Record two'])
+ adapter = MyArrayAdapter.new(self, android.R.layout.simple_list_item_1 , android.R.id.text1, ['Record one', 'Record two'])
self.content_view =
linear_layout :orientation => LinearLayout::VERTICAL do
@text_view_margins = text_view :text => 'What hath Matz wrought?', :id => 42
@list_view = list_view :adapter => adapter, :id => 43