awtk/demos/assets/default/raw/ui/tab_scrollable.xml
2019-11-11 17:44:21 +08:00

22 lines
924 B
XML

<window anim_hint="htranslate" theme="tab_top_compact">
<tab_button_group x="c" y="12" w="90%" h="30" compact="true" scrollable="true">
<tab_button text="General"/>
<tab_button text="Network" />
<tab_button name="clone_button" text="Security" value="true"/>
</tab_button_group>
<pages x="c" y="42" w="90%" h="-60" value="1">
<view w="100%" h="100%">
<label x="c" y="m" w="100%" h="60" text="General" />
<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="Network" />
<button name="close" x="c" y="bottom:100" w="80" h="40" text="Close" />
</view>
<view name="clone_view" w="100%" h="100%">
<label x="c" y="m" w="100%" h="60" text="Security" />
<button name="clone_tab" x="c" y="bottom:100" w="80" h="40" text="Clone" />
</view>
</pages>
</window>