刘小帅

autojs第七次 各种框
//文字框 "ui"; ui.layout( <vertical> &l...
扫描右侧二维码阅读全文
27
2020/01

autojs第七次 各种框

//文字框

"ui";
ui.layout(
    <vertical>
<text textColor="#CD0000" textSize="20sp" text="本软件仅供学习与交流,请勿用于非法用途,如被人用于非法用途,与本人无关!"/>
    </vertical>
)

"ui";
ui.layout(
    <vertical>
<text textColor="#CD0000" bg="#000000" textSize="20sp" id="ik" lines="3"/>
    </vertical>
)

ui.ik.setText("你好!\n第二行\n第三行")


//输入框
"ui";
ui.layout(
    <vertical>
<input hint="请输入激活码"/> //输入提示
    </vertical>
)


//密码输入框

"ui";
ui.layout(
    <vertical>
<input hint="请输入激活码" password="true"/> //输入提示
    </vertical>
)


//按钮

"ui";
ui.layout(
    <vertical>
<button text="带颜色的按钮"  style="Widget.AppCompat.Button.Colored" /> //按钮
<button text="无边框的按钮" style="Widget.AppCompat.Button.Borderless"/> //按钮
<button text="带颜色的无边框按钮" style="Widget.AppCompat.Button.Borderless.Colored"/> //按钮
<input hint="请输入激活码" password="true"/> //输入提示
<button text="点击开始脚本" /> //按钮
    </vertical>
)
 
 
Last modification:January 27th, 2020 at 07:50 pm
If you think my article is useful to you, please feel free to appreciate

One comment

  1. 111

    111

Leave a Comment