Hy cyberbandy, thanks for your reply.
Actually i read a couple of articles and lot's of things on different forums about this problem, and my conclusion was: you can / should not depend on getWidth, getHeight functions, because different phones (with qwerty keyboard or not) don't work the same.
I think that the layout shoud resive itself for different screen sizes, and by using scrollview i should imply the view that should stretch.
Don't you think the same ? Or could someone tell me how do you build your apps?
For now all android phones have 320*480 resolution, but the new htc tatto has 240*320, so will your apps work the same ?