I'm developing a simple XMPP-based chat app and now considering the ways to create a conversation layout. I plan to add a LinearLayout
for each message containing the .9.png
background, the actual text and the timestamp.
Question 1: what would fit better for the parent layout to which the message layouts will be added: a Relative- / LinearLayout inside a ScrollView or a ListView?
Question 2: what is the most simple way to save those message layouts so the messages stay when the user leaves the activity?