title: Android: How to automatically display vertical scrollbar?
body: <p>I created a user form which fits the window in vertical orientation. When the user slides the keyboard the form doesn't fit the screen (horizontal orientation). I tried to add the scrollbar but it is not visible.</p>
  
  <p>I would appreciate if anyone could show how to modify the following layout file in order to display scrollbar when the orientation is set to horizontal.</p>
  
  <p>Thanks!</p>
  
  <pre><code>&lt;LinearLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_height="wrap_content"
      android:layout_width="fill_parent" 
      android:orientation="vertical" 
      android:scrollbars="vertical" 
      android:scrollbarAlwaysDrawVerticalTrack="true"&gt;
          ...
      &lt;/LinearLayout&gt;
  </code></pre>