Sha256: 1d7b5835c46885b70c36c6a05524ad12181021e8bed014495348e2acee29cf42
Contents?: true
Size: 588 Bytes
Versions: 8
Compression:
Stored size: 588 Bytes
Contents
require 'ruboto' ruboto_import_widgets :ImageButton, :LinearLayout, :TextView $activity.handle_create do |bundle| setTitle File.basename(__FILE__).chomp('_activity.rb').split('_').map{|s| "#{s[0..0].upcase}#{s[1..-1]}" }.join(' ') setup_content do linear_layout :orientation => LinearLayout::VERTICAL do @text_view = text_view :text => 'What hath Matz wrought?', :id => 42 end end handle_create_options_menu do |menu| add_menu('Test') do @text_view.setText 'What hath Matz wrought!' toast 'Flipped a bit via butterfly' end true end end
Version data entries
8 entries across 8 versions & 2 rubygems