Hey all – is it possible to make an entire linear layout scrollable when it needs to be? (when all of the elements in the layout don’t fit on the main screen)?
I know it is doable with views, etc…but is there a way to incorporate everything on the layout to be scrollable at the same time?
Maybe scrollable is not the right term…basically – if one of the elements (a button in this case) doesn’t entirely make it onto the main screen of the phone and I need to slide a finger down to access it…if that makes sense.
A LinearLayout is a subclass of View, so anything you can do with a View you can with a Linear Layout.
So just use ScrollView with a single LinearLayout as a child