awtk/demos/res/raw/ui/tab_bottom.xml
2018-07-24 19:07:17 +08:00

27 lines
1.2 KiB
XML

<window anim_hint="htranslate" theme="tab_bottom">
<pages x="0" y="0" w="100%" h="-60" style="at_top">
<view w="100%" h="100%">
<label x="c" y="m" w="100%" h="60" text="Message" />
<button name="close" x="c" y="bottom:100" w="80" h="40" text="Close" />
</view>
<view w="100%" h="100%">
<label x="c" y="m" w="100%" h="60" text="Contact" />
<button name="close" x="c" y="bottom:100" w="80" h="40" text="Close" />
</view>
<view w="100%" h="100%">
<label x="c" y="m" w="100%" h="60" text="Discovery" />
<button name="close" x="c" y="bottom:100" w="80" h="40" text="Close" />
</view>
<view w="100%" h="100%">
<label x="c" y="m" w="100%" h="60" text="Me" />
<button name="close" x="c" y="bottom:100" w="80" h="40" text="Close" />
</view>
</pages>
<tab_button_group x="0" y="bottom" w="100%" h="60" >
<tab_button icon="msg" active_icon="msg_active" text="Message"/>
<tab_button icon="contact" active_icon="contact_active" text="Contact" value="true" />
<tab_button icon="discovery" active_icon="discovery_active" text="Discovery" />
<tab_button icon="me" active_icon="me_active" text="Me" />
</tab_button_group>
</window>