Skip to content

Instantly share code, notes, and snippets.

@coronarob
Last active August 29, 2015 14:17
Show Gist options
  • Save coronarob/04c1510d0e8501f12b1a to your computer and use it in GitHub Desktop.
Save coronarob/04c1510d0e8501f12b1a to your computer and use it in GitHub Desktop.
Button to trigger the activity panel
widget = require( "widget" )
shareButton = widget.newButton({
label = "Share",
onRelease = showShare,
})
shareButton.x = display.contentCenterX
shareButton.y = display.contentCenterY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment