update DynamicLayoutInflater to lastest version
This commit is contained in:
@@ -4,7 +4,7 @@ ui.statusBarColor("#03a9f4");
|
||||
|
||||
ui.layout(
|
||||
<vertical>
|
||||
<text w="*" h="56" bg="#03a9f4" paddingLeft="16" gravity="center_vertical" color="#fff" size="18sp">QQ打开聊天窗口</text>
|
||||
<text w="*" h="56" bg="#03a9f4" paddingLeft="16" gravity="center_vertical" color="#ffffff" size="18sp">QQ打开聊天窗口</text>
|
||||
<vertical h="*" w="*" margin="16 50">
|
||||
<input id="qq" h="50" hint="请输入QQ号"/>
|
||||
<button id="ok" text="确定" />
|
||||
|
||||
@@ -13,7 +13,7 @@ ui.layout(
|
||||
<frame background="#AA0000">
|
||||
<vertical align="top" paddingTop="5" margin="10">
|
||||
<text id="oops" color="#FFFFFF" gravity="center" size="20">Oops, your files have been encrypted!</text>
|
||||
<text id="text" bg="#FFFFFF" gravity="left" color="#000" size="15" marginTop="15" h="425"></text>
|
||||
<text id="text" bg="#FFFFFF" gravity="left" color="#000000" size="15" marginTop="15" h="425"></text>
|
||||
<button id="payment" text="Payment" margin="20 0 0 0"/>
|
||||
<button id="decrypt" text="Decrypt"/>
|
||||
</vertical>
|
||||
|
||||
8
app/src/main/assets/sample/界面/图片.js
Normal file
8
app/src/main/assets/sample/界面/图片.js
Normal file
@@ -0,0 +1,8 @@
|
||||
"ui";
|
||||
|
||||
ui.layout(
|
||||
<frame>
|
||||
<img src="http://www.autojs.org/assets/uploads/profile/3-profileavatar.png"
|
||||
w="80" h="80" align="center"/>
|
||||
</frame>
|
||||
)
|
||||
@@ -9,11 +9,11 @@ function showLoginUI(){
|
||||
<frame>
|
||||
<vertical h="auto" align="center" margin="0 50">
|
||||
<linear>
|
||||
<text w="56" gravity="center" color="#111" size="16">用户名</text>
|
||||
<text w="56" gravity="center" color="#111111" size="16">用户名</text>
|
||||
<input id="name" w="*" h="40"/>
|
||||
</linear>
|
||||
<linear>
|
||||
<text w="56" gravity="center" color="#111" size="16">密码</text>
|
||||
<text w="56" gravity="center" color="#111111" size="16">密码</text>
|
||||
<input id="password" w="*" h="40" inputType="password"/>
|
||||
</linear>
|
||||
<linear gravity="center">
|
||||
@@ -36,15 +36,15 @@ function showRegisterUI(){
|
||||
<frame>
|
||||
<vertical h="auto" align="center" margin="0 50">
|
||||
<linear>
|
||||
<text w="56" gravity="center" color="#111" size="16">用户名</text>
|
||||
<text w="56" gravity="center" color="#111111" size="16">用户名</text>
|
||||
<input w="*" h="40"/>
|
||||
</linear>
|
||||
<linear>
|
||||
<text w="56" gravity="center" color="#111" size="16">密码</text>
|
||||
<text w="56" gravity="center" color="#111111" size="16">密码</text>
|
||||
<input w="*" h="40" inputType="password"/>
|
||||
</linear>
|
||||
<linear>
|
||||
<text w="56" gravity="center" color="#111" size="16">邮箱</text>
|
||||
<text w="56" gravity="center" color="#111111" size="16">邮箱</text>
|
||||
<input w="*" h="40" inputType="email"/>
|
||||
</linear>
|
||||
<linear gravity="center">
|
||||
|
||||
Reference in New Issue
Block a user