Table 36. Elements and Sections in the Action Bar Layout XML File
|
|
<data:LayoutName>My Custom Action Bar Layout </data:LayoutName>
|
The <LayoutName> element contains the name of the Action bar layout. |
<data:Description>Custom Action Bar Layout Description</data:Description>
|
The <Description> element contains the description of the Action bar layout. |
<data:ListOfSections> . . . </data:ListOfSections>
|
The <ListOfSections> section contains the details of the Action bar sections. |
<data:ListOfSections> <data:Section> <data:Name>Global Search Multi Field</data:Name> <data:Displayed>true</data:Displayed> <data:Sequence>-2</data:Sequence> <data:GlobalHeaderSection>false <data:GlobalHeaderSection> </data:Section> <data:Section> <data:Name>Quick Message Center</data:Name> <data:Displayed>true</data:Displayed> <data:Sequence>-2</data:Sequence> <data:GlobalHeaderSection>false </data:GlobalHeaderSection> </data:Section> <data:Section> <data:Name>Calendar Action Applet</data:Name> <data:Displayed>false</data:Displayed> <data:Sequence>-1</data:Sequence> <data:GlobalHeaderSection>false </data:GlobalHeaderSection> </data:Section> <data:Section> <data:Name>Quick Favorite Lists</data:Name> <data:Displayed>true</data:Displayed> <data:Sequence>3</data:Sequence> <data:GlobalHeaderSection>false </data:GlobalHeaderSection> </data:Section> <data:Section> <data:Name>Quick History</data:Name> <data:Displayed>true</data:Displayed> <data:Sequence>1</data:Sequence> <data:GlobalHeaderSection>true </data:GlobalHeaderSection> </data:Section> <data:Section> <data:Name>Quick Favorite Records</data:Name> <data:Displayed>true</data:Displayed> <data:Sequence>2</data:Sequence> <data:GlobalHeaderSection>true </data:GlobalHeaderSection> </data:Section> <data:Section> <data:Name>Quick Create</data:Name> <data:Displayed>true</data:Displayed> <data:Sequence>0</data:Sequence> <data:GlobalHeaderSection>false </data:GlobalHeaderSection> </data:Section> </data:ListOfSections>
|
The <Section> section contains the details of one section in the Action bar, as follows:
- <Name> contains the name of the section.
- The <Displayed> element is not used. A value might be returned by a read operation, but the element is ignored for upsert operations.
- <Sequence> indicates the position of the section in the lists of sections for the Action bar layout, as follows:
- Positive integers (for example, 0, 1, 2, 3, and so on) indicate that the section is in the Action Bar Displayed Sections list, and the value indicates the location of the section, with 0 (zero) meaning the section is located at the top of the Action bar.
- A value of -1 indicates that the section is in the Action Bar Available Sections list.
- A value of -2 indicates that the section is in the Not Available Sections list.
- A value of -3 indicates that the section is in the Global Header Available Sections list.
- <GlobalHeaderSection> specifies whether the section is included in the Global Header Available Sections list (true) or is not included in the Global Header Available list (false).
|
<data:ListOfGlobalHeaders> . . . </data:ListOfGlobalHeaders>
|
The <ListOfGlobalHeaders> section contains the specification for the global header for the Action bar layout. |
<data:ListOfGlobalHeaders> <data:GlobalHeader> <data:Order>1</data:Order> <data:Icon>202</data:Icon> <data:Applet>Global Header Create</data:Applet> <data:AppletWidth>0</data:AppletWidth> <data:AppletDescription/> </data:GlobalHeader> <data:GlobalHeader> <data:Order>3</data:Order> <data:Icon>205</data:Icon> <data:Applet>Quick Favorite Records </data:Applet> <data:AppletWidth>160</data:AppletWidth> <data:AppletDescription/> </data:GlobalHeader> <data:GlobalHeader> <data:Order>2</data:Order> <data:Icon>202</data:Icon> <data:Applet>Quick History</data:Applet> <data:AppletWidth>160</data:AppletWidth> <data:AppletDescription/> </data:GlobalHeader> </data:ListOfGlobalHeaders>
|
The <GlobalHeader> section contains details of one section in the global header, as follows:
- <Order> indicates the order in which the section is displayed in the global header (required).
- <Icon> contains the name of the icon for the section (required).
- <Applet> contains the name of the section (required).
- <AppletWidth> specifies the width of the section (required).
- <AppletDescription> contains a description of the section.
|