This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
AddTabs
Hello World
Adds an MUI tab on a given layout.
tbf = MUI.AddTabs(
parent
,
title
,
width
,
height
,
options
,
color
,
animation
) →
Object
See
CreateTabFixed
for a full documentation.
Example - AddPicker
click to expand contents
cfg
.
Light
cfg
.
MUI
function
OnStart
(
)
{
lay
=
MUI
.
CreateLayout
(
"Linear"
,
"FillXY"
)
tab
=
MUI
.
AddTabs
(
lay
,
"Movies,Games,Books"
,
1
,
1
,
"fix"
)
app
.
AddLayout
(
lay
)
}
Copy All
Run
Boolean
Number
String:
hexadecimal:
“#rrggbb”
,
“#aarrggbb”
colourName:
“red”
,
“green”
, ...
String:
comma
“,”
separated:
“titles”
String:
comma
“,”
separated:
“DS layout options”
or
“Fix”
Object:
MUI Layout or DS Layout control
loading