fix hyb1996-guest/AutoJsIssueReport#1341 and replace JavaAdapter to ProxyObject in ui module to avoid compilation to class file

This commit is contained in:
hyb1996
2017-05-17 14:47:45 +08:00
parent c4ec951a10
commit b3fad201f7
70 changed files with 366 additions and 289 deletions

View File

@@ -1,56 +0,0 @@
bg
w
h
margin
marginLeft
margin*
padding
padding*
layout_gravity="center"
gravity
weight
var ui = {
};
ui.layout = function(xml){
}
ui.layout(
<linear orientation="vertical" w="fill" h="300" bg="#ff0000" gravity="center" layout_gravity="center">
<text text="测试" size="18" color="#000000" id="adasd"/>
<button id="btn" text="按钮"/>
</linear>
);
vat text = ui.asadsad;
<relative>
</relative>
<horizon>
</horizon>
<vertical>
</vertical>
function ui(){
}
module.exports = ui;