Sha256: b4d7d0fe700dde245ff9625a47f9a6164ed9b992dcbdcaf00ee2eff8b79da8f2
Contents?: true
Size: 481 Bytes
Versions: 15
Compression:
Stored size: 481 Bytes
Contents
class RubyFileActivity def onCreate(bundle) super set_title 'Ruby file Activity' display_text = intent.get_extra('extra_string') || 'This is a Ruby file activity.' self.content_view = linear_layout :orientation => :vertical, :gravity => :center_horizontal do text_view :text => display_text, :id => 42, :layout => {:width => :match_parent}, :gravity => :center, :text_size => 48.0 end end end
Version data entries
15 entries across 15 versions & 1 rubygems