Question If I have the following:
Why don't you make the ScrollView being fill_parent and A and B to wrap_content ? The only thing you want is that your ScrollView fits the screen.