mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-04 21:17:50 +08:00
65 lines
2.9 KiB
XML
65 lines
2.9 KiB
XML
<button>
|
|
<style name="round" border_color="#a0a0a0" text_color="black" round_radius="8">
|
|
<normal bg_color="#f0f0f0" />
|
|
<pressed bg_color="#c0c0c0" x_offset="1" y_offset="1"/>
|
|
<over bg_color="#e0e0e0" />
|
|
<disable bg_color="gray" text_color="#d0d0d0" />
|
|
</style>
|
|
|
|
<style name="round_top" border_color="#a0a0a0" text_color="black"
|
|
round_radius_top_left="8" feedback="true" focusable="true"
|
|
round_radius_top_right ="8">
|
|
<normal bg_color="#f0f0f0" />
|
|
<pressed bg_color="#c0c0c0" x_offset="1" y_offset="1"/>
|
|
<over bg_color="#e0e0e0" />
|
|
<disable bg_color="gray" text_color="#d0d0d0" />
|
|
<focused bg_color="#f0f0f0" border_color="green"/>
|
|
</style>
|
|
|
|
<style name="round_bottom" border_color="#a0a0a0" text_color="black"
|
|
round_radius_bottom_left="8" focusable="true"
|
|
round_radius_bottom_right ="8">
|
|
<normal bg_color="linear-gradient(180deg, #FF0000 20%, #0000FF);" />
|
|
<pressed bg_color="linear-gradient(180deg, #FF0000, #0000FF 80%);" x_offset="1" y_offset="1"/>
|
|
<over bg_color="linear-gradient(180deg, #FF0000 70%, #0000FF 30%);" />
|
|
<disable bg_color="gray" text_color="#d0d0d0" />
|
|
<focused bg_color="linear-gradient(180deg, #FF0000 20%, #0000FF 80%);" border_color="green"/>
|
|
</style>
|
|
<style name="icon_top" icon="earth" icon_at="top" border_color="#a0a0a0" text_color="black">
|
|
<normal bg_color="#f0f0f0" />
|
|
<pressed bg_color="#c0c0c0" x_offset="3" y_offset="3" />
|
|
<over bg_color="#e0e0e0" />
|
|
<disable bg_color="gray" text_color="#d0d0d0" />
|
|
</style>
|
|
<style name="icon" icon="earth" border_color="#a0a0a0" text_color="black">
|
|
<normal bg_color="#f0f0f0" />
|
|
<pressed bg_color="#c0c0c0" x_offset="3" y_offset="3" />
|
|
<over bg_color="#e0e0e0" />
|
|
<disable bg_color="gray" text_color="#d0d0d0" />
|
|
</style>
|
|
<style name="red_btn" bg_image_draw_type="repeat3_x" text_color="blue">
|
|
<normal bg_image="red_btn_n" />
|
|
<pressed bg_image="red_btn_p" x_offset="3" y_offset="3"/>
|
|
<over bg_image="red_btn_o" />
|
|
</style>
|
|
<style name="image" text_color="blue">
|
|
<normal icon="play_n" />
|
|
<pressed icon="play_p" x_offset="1" y_offset="1"/>
|
|
<over icon="play_o" />
|
|
</style>
|
|
|
|
<style name="close" border_color="#a0a0a0" round_radius="8" text_color="black" self_layout="default(x=center,y=bottom:50,w=50%,h=30)">
|
|
<normal bg_color="linear-gradient(180deg, #6AB2FF, #0D81FF);" />
|
|
<disable border_color="#D9D9D9" text_color="#BEBEBE"/>
|
|
<focused border_color="#3B9AFC" text_color="#7A7A7A"/>
|
|
<over bg_color="linear-gradient(180deg, #6AB2FF, #0D81FF);" />
|
|
<pressed bg_gcol="#007AEB" border_color="#0071EB" />
|
|
</style>
|
|
</button>
|
|
|
|
<column>
|
|
<style name="buttons" children_layout="default(row=4,col=1,spacing=10)" self_layout="default(x=center,y=10,w=50%,h=148)">
|
|
<normal />
|
|
</style>
|
|
</column>
|