nvw公告
2023-01-24 09:16:15 最后更新
第一行里面的1就是相对布局的id
调用代码fn 界面名字.gg(公告内容)
fn gg(nr)
nvw(200,1,"卡片","width=-1\nheight=-2\napp_cardcornerradius=10dp\nlayout_margin=20dp\napp_cardelevation=10dp")
nvw(201,200,"线性布局","width=-1\nheight=-1\norientation=vertical\npadding=10dp")
nvw(202,201,"文本","width=-1\nheight=-2\ntext=官方公告\ntextcolor=#000000\ntextstyle=bold\ntextsize=18sp\ngravity=center")
ss("width=-1\nheight=-2\nlayout_margin=5dp\ngravity=center\ntext=(html)" nr,sx)
nvw(203,201,"文本",sx)
nvw(204,201,"按钮","width=100dp\nheight=40dp\ntext=我知道了\nlayout_margin=5dp\nlayout_gravity=center_horizontal\nbackground=through")
swh("pxh",h)
dht(dh, 0, 0, h, 0)
dh(dh, "duration", 1000)
us(200, "dh", dh)
ssj(204,"clicki")
{
  swh("pxh",h)
dht(dh, 0, 0, 0, h)
dh(dh, "duration", 1000)
us(200, "dh", dh)
urvw(200)
}
end fn
by SL团队 茶靡