"ui";
var 配置 = storages.create("doodongyh");
var version = "7.2";
ui.layout(
<ScrollView>
<vertical>
<appbar>
<horizontal>
<toolbar id="bt" title="辅助浏览视频" gravity="left" textColor="red" layout_weight="1" />
<Switch id="autoService" text="无障碍" checked="{
{auto.service != null}}" padding="20 20 8 8" textSize="15sp" />
</horizontal>
<tabs id="tabs" />
</appbar>
<horizontal>
<text text=" 执行任务:" gravity="left" />
<checkbox id="tj" text="浏览推荐" checked="true" />
<checkbox id="tc" text="浏览同城" checked="true" />
<checkbox id="zb" text="观看直播" checked="true" />
</horizontal>
<button id="start" text="开始运行" style="Widget.AppCompat.Button.Colored" />
<viewpager id="viewpager" h="2000px" padding="0" >
<frame padding="0" h="auto">
<card layout_gravity="center|top" marginBottom="1" w="*" marginLeft="10" marginRight="10" h="auto" cardCornerRadius="0dp" bg="#00000000">
<ScrollView h="auto">
<vertical h="auto">
<horizontal>
<text text=" 浏览推荐时长:" gravity="left" />
<input id="yhsc" hint=" 时间 " textSize="15sp" inputType="number" gravity="center" />
<text text=" 分钟" gravity="left" />
</horizontal>
<horizontal>
<text text=" 喜欢作品概率:" gravity="left" />
<input id="xhgl" hint="喜欢概率" textSize="15sp" inputType="number" gravity="center" />
<text text=" 评论作品概率:" gravity="left" />
<input id="plgl" hint="评论概率" textSize="15sp" inputType="number" gravity="center" />
</horizontal>
<horizontal>
<text text=" 收藏作品概率:" gravity="left" />
<input id="scgl" hint="收藏概率" textSize="15sp" inputType="number" gravity="center" />
<text text=" 转发作品概率:" gravity="left" />
<input id="zfgl" hint="转发概率" textSize="15sp" inputType="number" gravity="center" />
</horizontal>
<horizontal>
<text text=" 浏览主页概率:" gravity="left" />
<input id="zygl" hint="主页概率" textSize="15sp" inputType="number" gravity="center" />
</horizontal>
<horizontal>
<text text=" 主播设置:" gravity="left" />
<checkbox id="gzzb" text="关注主播 " checked="true" />
<text text=" 关注概率:" gravity="left" />
<input id="gzgl" hint="关注概率" textSize="15sp" inputType="number" gravity="center" />
</horizontal>
<horizontal>
<text text=" 评论选择:" gravity="left" />
<checkbox id="pldz" text="评论点赞" checked="true" />
</horizontal>
<radiogroup orientation="horizontal" >
<text text=" 评论方式:" gravity="left" />
<radio id="diypl" text="自定义评论" />
<radio id="znpl" text="智能仿评论" />
</radiogroup>
<horizontal>
<text text=" 评论点赞:" gravity="left" />
<text text=" 点赞数量:" gravity="left" />
<input id="pldzsl" hint="数量" textSize="15sp" inputType="number" gravity="center" />
<text text=" 点赞概率:" gravity="left" />
<input id="pldzgl" hint="概率" textSize="15sp" inputType="number" gravity="center" />
</horizontal>
<horizontal>
<text text=" 评论内容:" gravity="left" />
<input id="plnr" hint="作品评论内容,可设置多个" textSize="15sp" gravity="left" />
</horizontal>
<horizontal>
<text text=" 作品关键词:" gravity="left" />
<input id="key" hint="务必填写,不填写无法播放!" textSize="15sp" />
</horizontal>
<horizontal>
<text text=" 作品点赞数大于:" gravity="left" color="#FF8C00" />
<input id="zpdzs" hint=" " textSize="15sp" />
<text text=" 作品评论数大于:" gravity="left" color="#FF8C00" />
<input id="zppls" hint=" " textSize="15sp" />
</horizontal>
<horizontal>
<text text=" 关键词设置:" gravity="left" />
<checkbox id="gjcsb" text="关闭关键词识别[不建议]" checked="true" />
</horizontal>
<horizontal>
<text text=" 浏览作品时间:" gravity="left" />
<input id="jg" hint="最小值" textSize="15sp" inputType="number" gravity="center" />
<text text="----" gravity="center" />
<input id="jg1" hint="最大值" textSize="15sp" inputType="number" gravity="center" />
<text text=" 秒" gravity="left" />
</horizontal>
<text text=" 温馨提示:" gravity="left" color="#FF0000" />
<text text=" 1.可设置多个关键词,分隔符为英文逗号即“,”;" gravity="left" />
<text text=" 2.例如:剪辑,影视,观影,60帧等;" gravity="left" />
</vertical>
</ScrollView>
</card>
</frame>
<frame>
<card layout_gravity="center|top" marginBottom="5" w="*" marginLeft="10" marginRight="10" h="auto" cardCornerRadius="0dp" bg="#00000000">
<ScrollView>
<vertical>
<horizontal>
<text text=" 浏览同城时间:" gravity="left" />
<input id="sc1" hint="时间(分钟)" textSize="15sp" inputType="number" gravity="center" />
<text text=" 分钟" gravity="left" />
</horizontal>
<horizontal>
<text text=" 每个作品观看:" gravity="left" />
<input id="jg3" hint="最小值" textSize="15sp" inputType="number" gravity="center" />
<text text="----" gravity="center" />
<input id="jg4" hint="最大值" textSize="15sp" inputType="number" gravity="center" />
<text text=" 秒" gravity="left" />
</horizontal>
</vertical>
</ScrollView>
</card>
</frame>
<frame>
<card layout_gravity="center|top" marginBottom="5" w="*" marginLeft="10" marginRight="10" h="auto" cardCornerRadius="0dp" bg="#00000000">
<ScrollView>
<vertical>
<horizontal>
<text text=" 观看直播时间:" gravity="left" />
<input id="sc2" hint="时间(分钟)" textSize="15sp" inputType="number" gravity="center" />
<text text=" 分钟" gravity="left" />
</horizontal>
<horizontal >
<text text=" 打字速度:" gravity="left" />
<spinner id="khd" entries="快速|正常|慢速" />
</horizontal>
<horizontal>
<text text=" 开启暖场:" gravity="left" />
<checkbox id="kqpl" text="开启暖场" checked="true" />
</horizontal>
<radiogroup orientation="horizontal" >
<text text=" 暖场方式:" gravity="left" />
<radio id="zhineng" text="自定义内容 " />
<radio id="fang" text="仿公屏内容" />
</radiogroup>
<horizontal>
<text text=" 暖场内容:" gravity="left" />