用法:(1为:控件ID,第二个参数为控件属性标识,第三个是需要设置的数据或变量)
s c = "文本内容"
us(1, "text", c)
us(1, "background", "#666666")
us(1, "background", "@b.png")
us(1, "background", "http://abc.com/abc.png")
us(1, "src", "@b.png")
us(1, "src", "http://abc.com/abc.png")
us(1, "refreshing", false)
s c = "https://m.baidu.com/"
us(2, "url", c)
s c = "<html><p>html内容</></html>"
s d = "utf-8"
s e = "text/html"
us(2, "url", c, d, e, f)
tw(f)
s radius = 5
s dx = 0
s dy = 0
s color = "#000000"
us(2, "shadow", radius, dx, dy, color, f)
tw(f)
s c = "文本内容"
us(1, "text", c, d)
us(1, "selection", 1, d)
us(1, "selection", 1, 3, d)
us(1, "gobackorforward", 1)
us(1, "gobackorforward", -1)
us(1, "backgroundripple", "#888888")
us(1, "textcursordrawable", "#000000")
us(1, "typeface", "@ttf.ttf")
说明:
输入控件标示设置控件数据。