Hello everyone and thank you for taking a look at my post, I am having trouble with a ScrollView truncating the top of my TableLayout after changing the visibility of table elements from 'gone' to 'visible'. I am using gone because when I use 'invisible', the layout saves room (as it is supposed to) for the rest of the table, allowing the user to scroll downwards to blank space.
Is there a solution to the truncation problem? If not, are there some steps that I can take to make the user unable to scroll downwards to the empty space until it is filled back up with views? (I already realized that using setVerticalScrollBarEnabled(false); will hide the scrollbar from view, but does not necessarily mean that scrolling is itself disabled). As for the specifics of my app, I have a layout setup with the following: A ScrollView as the parent of a TableLayout A TableLayout with 4 rows Rows containing 2 RelativeLayouts apiece, each with various UI elements for keeping the score of a player in a game. My layout xml sets the visibility of RelativeLayouts 3-8 to 'gone' as the default is a 2-player game. I have a menu option which allows for the user to set the number of players from 1-8, and will make the layout elements appear for the correct number of players. Up to 6 will display fine on the phone's screen, but when I add players 7/8, the very top parts of players 1 & 2 get cut off, and despite scrolling all the way up, I can't see them. Thank you very much for your time and consideration, jhoffman --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

