I am currently trying to set up the screen similar to the way it is in the original sms application (ScrollView on top with the messages, below a TextEdit and a Button).
Amongst other, I tried this setup:
LinearLayout---- ||--- TextEdit and Button
(List items here)-||
Now the problem is that when i first add the ScrollView and then the second RelativeLayout the ScrollView goes "under" the Text Edit and Button. If I add them the other way round the TextEdit and Button are overdrawn by the Scroll View. I have tried using RelativeLayout.LayoutParams.ABOVE and BELOW with the apropriate id's.
Now my question is if I have a general design flaw in my concept or if i have forgotten some setting or..?