<component>
	<consts>
		<color name="light_blue" value="0xbbbbff"/>
		<color name="dark_blue" value="0x000080"/>
	</consts>

	<styles>
		<style name="btn_style" bg_color="#dark_blue" bg_opa="150"/>
		<style name="btn_pr_style" bg_opa="255"/>
        <style name="red_border" border_color="0xff0000"></style>

	</styles>

	<view extends="lv_obj" name="main" width="280" height="content" style_bg_color="#light_blue">
		<lv_label text="Hello"/>
		<my_card title="Card 1" name="card1"
				 y="0"
                 styles="red_border"
				 btn_rel_style="btn_style"
				 btn_pr_style="btn_pr_style"/>

		<my_card y="85"
				 bg_color="0xffaaaa"
				 action="Apply"
				 btn_rel_style="btn_style"
				 btn_pr_style="btn_pr_style"/>
	</view>
</component>