This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
AddButton
Hello World
Creates and adds a Button to a Layout.
app.AddButton(
layout
,
text
,
width
,
height
,
options
) →
app object:
Button
See
CreateButton
for full documentation.
String
Number:
fraction (0..1)
String:
comma
“,”
separated:
“FontAwesome”
,
“Html”
,
“Monospace”
,
“Normal”
or
“Aluminium”
or
“Gray”
or
“Lego”
,
“SingleLine”
,
“Custom”
,
“NoPad”
,
“FillX/Y”
,
“NoSound”
app object:
Layout
loading