Your comments

Thanks, I've copied this in but it seems to have stopped working. I'll do some debugging and test it and let you know how it goes.
Thanks I think I was not using engine version 1.4.

I have now got a better understanding of formatting, I have two more questions that relate to this code:


<wire>
<datasources>
<datasource name="RSSFeed" source="" query="//item" providertype="xml" parsenamespaces="yes" />
</datasources>
<classes>
<class name="article-list-item">
<panel name="article-[param:dataSourceIndex]" width="100%" fitheight="yes" _dataSourceIndex="[param:dataSourceIndex]" background="303339" borderwidth="0" bordercolor="ffff00" padding="2">
<panel name="info2" width="100%" fitheight="yes" padding="2" borderwidth="1" bordercolor="00ff00" >
<text name="headline" width="100%" height="fit" color="#707B51" font="Helvetica-Bold" size="18" align="left" alignment="left" text="[param:headline]" background="303339" fit="yes"></text>
<text name="description" width="100%" height="fit" color="#f0ffff" font="Helvetica" size="14" align="left" bottomof="headline" alignment="left" text="[param:description]" background="303339"></text>
</panel>
</panel>
</class>
</classes>
<main>
<panel name="BasePanel" width="100%" height="100%" borderwidth="1" bordercolor="ffffff" padding="2">
<panel name="InsidePanel" width="100%" height="100%" borderwidth="1" bordercolor="ffff00" padding="2">
<panel name="Heading" width="100%" height="20%" borderwidth="1" bordercolor="00ffff" valign="top" padding="10">
<text name="HeadingText" text="Heading" width="100%" height="100%" size="14" fit="yes" align="center" valign="center" color="ffffff"></text>
</panel>
<panel name="Rest" width="100%" height="80%" fitheight="yes" borderwidth="1" bordercolor="ff0000" valign="bottom">
<list name="list" datasource="RSSFeed" width="100%" lwidth="100%" height="100%" valign="bottom" align="center" orientation="vertical" paginate="no">
<object class="article-list-item" dataSourceIndex="[param:dataSourceIndex]" headline="[param:title]" description="[param:description]" link="[param:link]" pubdate="[param:pubdate]"/>
</list>
</panel>
</panel>
</panel>
</main>
<actions>
<action name="boot" oninit="yes">
<assign property="datasource:RSSFeed.source" value="http://defensesystems.com/rss-feeds/all.aspx" />
</action>
</actions>
</wire>


The last rss item always appears off the panel - as in I scroll to the end and have to hold my finger on the panel and scroll up to read the last item. I can't seem to make it fit!

Also if I start in landscape and rotate to portrait, the containing panel remains the same pixel size, not the percentage, but all seems to function correctly (you can see the panel size with the red line) is this right? Should I implement some code to re-size the panel on orientation?

Thanks.