Sha256: 1a0c582532efb87aec5be4312a9cd202999565c59fa5e73383b6eb2d4c76d1d2

Contents?: true

Size: 379 Bytes

Versions: 7

Compression:

Stored size: 379 Bytes

Contents

class RubyFileActivity
  def onCreate(bundle)
    super
    set_title 'Ruby file Activity'

    self.content_view =
        linear_layout :orientation => :vertical, :gravity => :center_horizontal do
          text_view :text => 'This is a Ruby file activity.', :id => 42, :width => :match_parent,
                    :gravity => :center, :text_size => 48.0
        end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruboto-0.13.0 test/activity/ruby_file_activity.rb
ruboto-0.12.0 test/activity/ruby_file_activity.rb
ruboto-0.13.0.rc.0 test/activity/ruby_file_activity.rb
ruboto-0.12.0.rc.0 test/activity/ruby_file_activity.rb
ruboto-0.11.0 test/activity/ruby_file_activity.rb
ruboto-0.11.0.rc.1 test/activity/ruby_file_activity.rb
ruboto-0.11.0.rc.0 test/activity/ruby_file_activity.rb