<hbwidget version="0.1">

  <layout name="layout-msg-portrait" type="mesh">

    <meshitem src="subject" srcEdge="TOP" dst="" dstEdge="TOP" />   
    <meshitem src="subject" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="subject" srcEdge="RIGHT" dst="priority" dstEdge="LEFT"  spacer="rightSpacer"  />

    <meshitem src="priority" srcEdge="RIGHT" dst="attachment" dstEdge="LEFT" />
    <meshitem src="priority" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />

    <meshitem src="attachment" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    <meshitem src="attachment" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />

    <meshitem src="preview" srcEdge="TOP" dst="subject" dstEdge="BOTTOM" />
    <meshitem src="preview" srcEdge="LEFT" dst="" dstEdge="LEFT" />

    <meshitem src="bodyText" srcEdge="TOP" dst="preview" dstEdge="BOTTOM" />
    <meshitem src="bodyText" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="bodyText" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />

    <meshitem src="timeStamp" srcEdge="TOP" dst="bodyText" dstEdge="BOTTOM" />
    <meshitem src="timeStamp" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="timeStamp" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    <meshitem src="timeStamp" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />

    <meshitem src="newItemIcon" srcEdge="LEFT" dst="" dstEdge="LEFT"/>
    <meshitem src="newItemIcon" srcEdge="TOP" dst="" dstEdge="TOP"/>
    <meshitem src="newItemIcon" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>

    <meshitem src="bubble" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="bubble" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="bubble" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="bubble" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />

    <meshitem src="playIcon" srcEdge="TOP" dst="subject" dstEdge="BOTTOM"/>
    <meshitem src="playIcon" srcEdge="LEFT" dst="preview" dstEdge="RIGHT" />

  </layout>

  <layout name="layout-msg-landscape" type="mesh">

    <meshitem src="preview" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="preview" srcEdge="LEFT" dst="" dstEdge="LEFT" />

    <meshitem src="subject" srcEdge="TOP" dst="" dstEdge="TOP" />    
    <meshitem src="subject" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    <meshitem src="subject" srcEdge="RIGHT" dst="priority" dstEdge="LEFT" />

    <meshitem src="priority" srcEdge="RIGHT" dst="attachment" dstEdge="LEFT" />
    <meshitem src="priority" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />

    <meshitem src="attachment" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    <meshitem src="attachment" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />

    <meshitem src="bodyText" srcEdge="TOP" dst="subject" dstEdge="BOTTOM" />
    <meshitem src="bodyText" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    <meshitem src="bodyText" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
 
    <meshitem src="timeStamp" srcEdge="TOP" dst="bodyText" dstEdge="BOTTOM" />
    <meshitem src="timeStamp" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    <meshitem src="timeStamp" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    <meshitem src="timeStamp" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>

    <meshitem src="newItemIcon" srcEdge="LEFT" dst="" dstEdge="LEFT"/>
    <meshitem src="newItemIcon" srcEdge="TOP" dst="" dstEdge="TOP"/>
    <meshitem src="newItemIcon" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>

    <meshitem src="bubble" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="bubble" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    <meshitem src="bubble" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    <meshitem src="bubble" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />

    <meshitem src="playIcon" srcEdge="TOP" dst="" dstEdge="TOP" />
    <meshitem src="playIcon" srcEdge="LEFT" dst="preview" dstEdge="RIGHT" />

  </layout>

</hbwidget>
