awtk/demos/assets/default/raw/styles/button.xml
2019-10-18 03:18:12 -07:00

27 lines
990 B
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="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="patch3_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>
</button>