messagingapp/msgui/conversationview/resources/layouts/msgconversationwidget.widgetml
changeset 51 3507212d340e
parent 37 518b245aa84c
child 56 f42d9a78f435
equal deleted inserted replaced
49:2a272ef608c4 51:3507212d340e
     1 <hbwidget version="0.1">
     1 <hbwidget version="0.1">
     2 
     2 
     3   <layout name="layout-msg-portrait" type="mesh">
     3   <layout name="layout-msg-portrait" type="mesh">
     4 
     4 
     5     <meshitem src="subject" srcEdge="TOP" dst="" dstEdge="TOP" />   
     5     <meshitem src="subject" srcEdge="TOP" dst="headerItem" dstEdge="TOP" />   
     6     <meshitem src="subject" srcEdge="LEFT" dst="" dstEdge="LEFT" />
     6     <meshitem src="subject" srcEdge="LEFT" dst="headerItem" dstEdge="LEFT" />
     7     <meshitem src="subject" srcEdge="RIGHT" dst="priority" dstEdge="LEFT"  spacer="rightSpacer"  />
     7     <meshitem src="subject" srcEdge="RIGHT" dst="priority" dstEdge="LEFT"/>
       
     8     <meshitem src="subject" srcEdge="BOTTOM" dst="headerItem" dstEdge="BOTTOM"/>
     8 
     9 
     9     <meshitem src="priority" srcEdge="RIGHT" dst="attachment" dstEdge="LEFT" />
    10     <meshitem src="priority" srcEdge="RIGHT" dst="attachment" dstEdge="LEFT" />
    10     <meshitem src="priority" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />
    11     <meshitem src="priority" srcEdge="CENTERV" dst="headerItem" dstEdge="CENTERV" />
       
    12     <meshitem src="priority" srcEdge="TOP" dst="headerItem" dstEdge="TOP" spacer="topSpacer" />
       
    13     <meshitem src="priority" srcEdge="BOTTOM" dst="headerItem" dstEdge="BOTTOM" spacer="bottomSpacer" />
       
    14     
       
    15     <meshitem src="attachment" srcEdge="RIGHT" dst="headerItem" dstEdge="RIGHT" />
       
    16     <meshitem src="attachment" srcEdge="CENTERV" dst="headerItem" dstEdge="CENTERV" />
       
    17     <meshitem src="attachment" srcEdge="TOP" dst="headerItem" dstEdge="TOP" spacer="topSpacer"/>
       
    18     <meshitem src="attachment" srcEdge="BOTTOM" dst="headerItem" dstEdge="BOTTOM" spacer="bottomSpacer" />
       
    19     
       
    20     <meshitem src="headerItem" srcEdge="TOP" dst="" dstEdge="TOP" />
       
    21     <meshitem src="headerItem" srcEdge="LEFT" dst="" dstEdge="LEFT" />
       
    22     <meshitem src="headerItem" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />    
    11 
    23 
    12     <meshitem src="attachment" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    24     <meshitem src="preview" srcEdge="TOP" dst="headerItem" dstEdge="BOTTOM" />
    13     <meshitem src="attachment" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />
       
    14 
       
    15     <meshitem src="preview" srcEdge="TOP" dst="subject" dstEdge="BOTTOM" />
       
    16     <meshitem src="preview" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    25     <meshitem src="preview" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    17 
    26 
    18     <meshitem src="bodyText" srcEdge="TOP" dst="preview" dstEdge="BOTTOM" />
    27     <meshitem src="bodyText" srcEdge="TOP" dst="preview" dstEdge="BOTTOM" />    
    19     <meshitem src="bodyText" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    28     <meshitem src="bodyText" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    20     <meshitem src="bodyText" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    29     <meshitem src="bodyText" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    21 
    30 
    22     <meshitem src="timeStamp" srcEdge="TOP" dst="bodyText" dstEdge="BOTTOM" />
    31     <meshitem src="timeStamp" srcEdge="TOP" dst="bodyText" dstEdge="BOTTOM" />
    23     <meshitem src="timeStamp" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    32     <meshitem src="timeStamp" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    31     <meshitem src="bubble" srcEdge="TOP" dst="" dstEdge="TOP" />
    40     <meshitem src="bubble" srcEdge="TOP" dst="" dstEdge="TOP" />
    32     <meshitem src="bubble" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    41     <meshitem src="bubble" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    33     <meshitem src="bubble" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    42     <meshitem src="bubble" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    34     <meshitem src="bubble" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    43     <meshitem src="bubble" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    35 
    44 
    36     <meshitem src="playIcon" srcEdge="TOP" dst="subject" dstEdge="BOTTOM"/>
    45     <meshitem src="playIcon" srcEdge="TOP" dst="headerItem" dstEdge="BOTTOM"/>
    37     <meshitem src="playIcon" srcEdge="LEFT" dst="preview" dstEdge="RIGHT" />
    46     <meshitem src="playIcon" srcEdge="LEFT" dst="preview" dstEdge="RIGHT" />
    38 
    47 
    39   </layout>
    48   </layout>
    40 
    49 
    41   <layout name="layout-msg-landscape" type="mesh">
    50   <layout name="layout-msg-landscape" type="mesh">
    42 
    51 
    43     <meshitem src="preview" srcEdge="TOP" dst="" dstEdge="TOP" />
    52     <meshitem src="preview" srcEdge="TOP" dst="" dstEdge="TOP" />
    44     <meshitem src="preview" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    53     <meshitem src="preview" srcEdge="LEFT" dst="" dstEdge="LEFT" />
       
    54     <meshitem src="preview" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" spacer="bottomSpacer"/>
       
    55     
       
    56     <meshitem src="playIcon" srcEdge="TOP" dst="" dstEdge="TOP" />
       
    57     <meshitem src="playIcon" srcEdge="LEFT" dst="preview" dstEdge="RIGHT" />
       
    58     <meshitem src="playIcon" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" spacer="bottomSpacer"/>
    45 
    59 
    46     <meshitem src="subject" srcEdge="TOP" dst="" dstEdge="TOP" />    
    60     <meshitem src="subject" srcEdge="TOP" dst="headerItem" dstEdge="TOP" />   
    47     <meshitem src="subject" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    61     <meshitem src="subject" srcEdge="LEFT" dst="headerItem" dstEdge="LEFT" />
    48     <meshitem src="subject" srcEdge="RIGHT" dst="priority" dstEdge="LEFT" />
    62     <meshitem src="subject" srcEdge="RIGHT" dst="priority" dstEdge="LEFT"/>
       
    63     <meshitem src="subject" srcEdge="BOTTOM" dst="headerItem" dstEdge="BOTTOM"/>
    49 
    64 
    50     <meshitem src="priority" srcEdge="RIGHT" dst="attachment" dstEdge="LEFT" />
    65     <meshitem src="priority" srcEdge="RIGHT" dst="attachment" dstEdge="LEFT" />
    51     <meshitem src="priority" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />
    66     <meshitem src="priority" srcEdge="CENTERV" dst="headerItem" dstEdge="CENTERV" />
       
    67     <meshitem src="priority" srcEdge="TOP" dst="headerItem" dstEdge="TOP" spacer="topSpacer" />
       
    68     <meshitem src="priority" srcEdge="BOTTOM" dst="headerItem" dstEdge="BOTTOM" spacer="bottomSpacer" />
       
    69     
       
    70     <meshitem src="attachment" srcEdge="RIGHT" dst="headerItem" dstEdge="RIGHT" />
       
    71     <meshitem src="attachment" srcEdge="CENTERV" dst="headerItem" dstEdge="CENTERV" />
       
    72     <meshitem src="attachment" srcEdge="TOP" dst="headerItem" dstEdge="TOP" spacer="topSpacer" />
       
    73     <meshitem src="attachment" srcEdge="BOTTOM" dst="headerItem" dstEdge="BOTTOM" spacer="bottomSpacer" />
       
    74     
       
    75     <meshitem src="headerItem" srcEdge="TOP" dst="" dstEdge="TOP" />
       
    76     <meshitem src="headerItem" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
       
    77     <meshitem src="headerItem" srcEdge="RIGHT" dst="" dstEdge="RIGHT" /> 
    52 
    78 
    53     <meshitem src="attachment" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    79     <meshitem src="bodyText" srcEdge="TOP" dst="headerItem" dstEdge="BOTTOM" />
    54     <meshitem src="attachment" srcEdge="CENTERV" dst="subject" dstEdge="CENTERV" />
       
    55 
       
    56     <meshitem src="bodyText" srcEdge="TOP" dst="subject" dstEdge="BOTTOM" />
       
    57     <meshitem src="bodyText" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    80     <meshitem src="bodyText" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    58     <meshitem src="bodyText" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    81     <meshitem src="bodyText" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    59  
    82  
    60     <meshitem src="timeStamp" srcEdge="TOP" dst="bodyText" dstEdge="BOTTOM" />
    83     <meshitem src="timeStamp" srcEdge="TOP" dst="bodyText" dstEdge="BOTTOM" spacer="topSpacer" />
    61     <meshitem src="timeStamp" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    84     <meshitem src="timeStamp" srcEdge="LEFT" dst="playIcon" dstEdge="RIGHT" />
    62     <meshitem src="timeStamp" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    85     <meshitem src="timeStamp" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    63     <meshitem src="timeStamp" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>
    86     <meshitem src="timeStamp" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"  />
    64 
    87 
    65     <meshitem src="newItemIcon" srcEdge="LEFT" dst="" dstEdge="LEFT"/>
    88     <meshitem src="newItemIcon" srcEdge="LEFT" dst="" dstEdge="LEFT"/>
    66     <meshitem src="newItemIcon" srcEdge="TOP" dst="" dstEdge="TOP"/>
    89     <meshitem src="newItemIcon" srcEdge="TOP" dst="" dstEdge="TOP"/>
    67     <meshitem src="newItemIcon" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>
    90     <meshitem src="newItemIcon" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM"/>
    68 
    91 
    69     <meshitem src="bubble" srcEdge="TOP" dst="" dstEdge="TOP" />
    92     <meshitem src="bubble" srcEdge="TOP" dst="" dstEdge="TOP" />
    70     <meshitem src="bubble" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    93     <meshitem src="bubble" srcEdge="LEFT" dst="" dstEdge="LEFT" />
    71     <meshitem src="bubble" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    94     <meshitem src="bubble" srcEdge="BOTTOM" dst="" dstEdge="BOTTOM" />
    72     <meshitem src="bubble" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    95     <meshitem src="bubble" srcEdge="RIGHT" dst="" dstEdge="RIGHT" />
    73 
    96 
    74     <meshitem src="playIcon" srcEdge="TOP" dst="" dstEdge="TOP" />
       
    75     <meshitem src="playIcon" srcEdge="LEFT" dst="preview" dstEdge="RIGHT" />
       
    76 
       
    77   </layout>
    97   </layout>
    78 
    98 
    79 </hbwidget>
    99 </hbwidget>