2 Star 3 Fork 5

zzliux/assttjtjs_autojs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mainLayout.js 3.14 KB
一键复制 编辑 原始数据 按行查看 历史
zzliux 提交于 2020-03-15 01:09 . first commit
module.exports = <drawer id="drawer" bg="#eeeeeeee">
<vertical>
<appbar>
<toolbar id="toolbar" title="assttjtjs" />
<tabs id="tabs"/>
</appbar>
<viewpager id="viewpager">
<frame>
<vertical h="*" padding="0 10 0 60">
<horizontal w="*"padding="10 5">
<text textSize="16sp">方案</text>
<spinner id="preFunc" entries="" textColor="#000000" />
</horizontal>
<list id="funcList">
<card w="*" h="40" id="card" bg="#ffffff" margin="10 5" clickable="true" cardCornerRadius="2dp" cardElevation="1dp" foreground="?android:attr/selectableItemBackgroundBorderless">
<horizontal gravity="center_vertical">
<vertical padding="10 8" h="auto" w="auto" layout_weight="1">
<text id="title" text="{{this.funcId + ' ' + this.funcName}}" textColor="#222222" textSize="16sp" maxLines="1" />
</vertical>
<horizontal gravity="center|right" h="auto" w="auto">
<img h="30" w="30" id="listUp" src="@drawable/ic_keyboard_arrow_up_black_48dp" clickable="true" bg="?android:attr/selectableItemBackgroundBorderless" />
<img h="30" w="30" id="listDown" src="@drawable/ic_keyboard_arrow_down_black_48dp" clickable="true" bg="?android:attr/selectableItemBackgroundBorderless" />
<checkbox id="checkEnable" marginRight="6" checked="{{this.enable}}" />
</horizontal>
</horizontal>
</card>
</list>
</vertical>
<fab id="showFloaty" w="auto" h="auto" src="@drawable/ic_check_black_48dp" margin="16" layout_gravity="bottom|right" tint="#ffffff" />
</frame>
<frame>
<vertical>
<LX-CONFIGCONFIG/>
</vertical>
<fab id="showFloaty2" w="auto" h="auto" src="@drawable/ic_check_black_48dp" margin="16" layout_gravity="bottom|right" tint="#ffffff" />
</frame>
</viewpager>
</vertical>
<vertical layout_gravity="left" bg="#ffffff" w="280">
<img w="280" h="200" scaleType="fitXY" src="http://images.shejidaren.com/wp-content/uploads/2014/10/023746fki.jpg"/>
<frame w="*">
<img w="50" h="50" padding="16" src="@drawable/ic_settings_black_48dp" tint="#009688"/>
<Switch id="autoService" layout_gravity="center|right" marginLeft="40" text="无障碍服务" checked="{{auto.service != null}}" padding="8 8 8 8" textSize="15sp"/>
</frame>
<list id="menu">
<horizontal bg="?selectableItemBackground" w="*">
<img w="50" h="50" padding="16" src="{{this.icon}}" tint="#009688"/>
<text textColor="black" textSize="15sp" text="{{this.title}}" layout_gravity="center"/>
</horizontal>
</list>
</vertical>
</drawer>;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/zzliux/assttjtjs_autojs.git
git@gitee.com:zzliux/assttjtjs_autojs.git
zzliux
assttjtjs_autojs
assttjtjs_autojs
master

搜索帮助