
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;