tags:

views:

1072

answers:

1

hi, I am adding layouts programmatically ,I am adding scrollview as a parent layout and and combination of horizontal and vertical linearlayouts when i add a list view in scrollview i am getting an issue that my ui is not taking full screen the listview height is set to fill parent .There is blank space added at the bottom and the height of the listview gets very small .I am just finding the reason why it is happening is it a bug in android for scrollview .HAs anybody ocuured the same problem Thanks in advance.

A: 

Without any code, I'd have to take a guess and say that your ScrollView is not set to fill_parent.

Try using layout editor in Eclipse or the hierachyviewer that ships with the Android SDK to examine your layout in the emulator and see which view is not filling the screen.

Mike