Android code snippets will be posted on this blog to share them with other developers. These are short and handy code snippets. Screenshots will be included where appropriate to show the expected results when compiled.
Here is how to make the horizontal and vertical scroll bars appear on the screen WHEN the the application becomes wider than the phone screen. Scroll bars will appear only when the user needs them; will hide when not needed.