화면의 윗부분 영역을 "ActionBar" 라고 하며 크기 3가지(NavigationContent영역, TitleContent영역, ActionContent영역)로 나뉩니다. 그리고 actionBarVisible속성으로 감출수도 있습니다.



<?xml version="1.0" encoding="utf-8"?>

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

               xmlns:s="library://ns.adobe.com/flex/spark"

               actionBarVisible="{chkBox.selected}"

               >

       

        <s:navigationContent>

               <s:Label text="navigationContent"/>

        </s:navigationContent>

       

        <s:titleContent>

               <s:Label text="titleContent"/>

        </s:titleContent>

       

        <s:actionContent>

               <s:Label text="actionContent"/>

        </s:actionContent>

       

        <s:HGroup width="100%" height="100%" verticalAlign="middle" horizontalAlign="center">

               <s:Label text="ActionBar Visible" />

               <s:CheckBox id="chkBox" selected="true"/>

        </s:HGroup>

</s:View>


저작자 표시 비영리 변경 금지
신고
YOUR COMMENT IS THE CRITICAL SUCCESS FACTOR FOR THE QUALITY OF BLOG POST


티스토리 툴바