fix hyb1996-guest/AutoJsIssueReport#1341 and replace JavaAdapter to ProxyObject in ui module to avoid compilation to class file
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user