nvw(1000,1,”相对布局”,”width=-1\nheight=-1\nbackground=through”)
nvw(1001,1000,”线性布局”,”width=-1\nheight=-1\ngravity=center\nbackground=through”)
nvw(1002,1001,”卡片”,”width=250dp\nheight=-2\napp_CardBackgroundColor=#ffffff\napp_CardcornerRadius=15dp\napp_CardElevation=0″)
nvw(1003,1002,”线性布局”,”width=-1\nheight=-2\nbackground=through\norientation=vertical”)
nvw(1004,1003,”相对布局”,”width=-2\nheight=-2″)
nvw(1005,1003,”线性布局”,”width=-1\nheight=-2\norientation=vertical\nlayout_margin=20dp”)
nvw(1006,1003,”线性布局”,”width=-1\nheight=-2\norientation=horizontal\ngravity=center\nlayout_marginTop=10dp\nlayout_marginLeft=20dp\nlayout_marginRight=20dp\nlayout_marginBottom=20dp”)
nvw(1007,1004,”图像”,”width=-1\nheight=175dp\nsrc=@gximg.jpg\nscaleType=centercrop”)
nvw(1008,1004,”线性布局”,”width=-2\nheight=-2\norientation=horizontal\nut_alignBottom=1001\nut_alignParentRight=true\nlayout_marginRight=20dp”)
nvw(1009,1005,”文本”,”width=-2\nheight=-2\ntext=发现新版本!\ntextSize=16sp\ntext “)
nvw(1010,1005,”文本”,”width=-2\nheight=-2\ntext=更新内容\nlayout_marginTop=10dp\ntextSize=14sp”)
nvw(1011,1006,”卡片”,”width=-1\nheight=40dp\nlayout_weight=1\napp_CardBackgroundColor=#FF3F85FF\napp_CardcornerRadius=20dp\napp_CardElevation=0″,gx)
nvw(1012,1006,”线性布局”,”width=15dp\nheight=-2\norientation=vertical”)
nvw(1013,1006,”卡片”,”width=-1\nheight=40dp\nlayout_weight=1\napp_CardBackgroundColor=#FFF0F0F0\napp_CardcornerRadius=20dp\napp_CardElevation=0″,o)
nvw(1014,1011,”文本”,”width=-1\nheight=-1\ntext=立即升级\ntextColor=#ffffffff\ngravity=center\ntextSize=12sp\nBackgroundRipple=#ffffffff”)
nvw(1015,1013,”文本”,”width=-1\nheight=-1\ntext=退出软件\ntextColor=#FF606060\ngravity=center\ntextSize=12sp\nBackgroundRipple=#ffffffff”)
ssj(gx,”clicki”)
hws(ss.down)
ssj(o,”clicki”)
end()
end fn
fn upgrade_f()
s download=””
fn function.upgrade_utw(download)
end fn
调用模块:
fn function.upgrade_f()
判断是否更新那些什么的自己完善[哈哈][玫瑰]
没有回复内容