title: Apache cordova on android where are scrollbars?
body: <p>I try to build a simple app with cordova which target android</p>
  
  <p>I just want to have a scrollable div but </p>
  
  <ul>
  <li>if the content is smaller than the div's height, the scrollbar is always visible</li>
  <li>if the content is bigger than the div's height, the scrollbar never appear, even if I scroll : the scroll is possible but no scrollbar position indication</li>
  </ul>
  
  <p>My layout is simple :</p>
  
  <pre><code>&lt;body&gt;
      &lt;div id='views'&gt;
          &lt;div class='view'&gt;
              Lorem ipsum ...
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Css is simple too :</p>
  
  <pre><code>#views {
      position : absolute;
      top:0; right:0; bottom:0; left:0;
  }
  
  .view {
      position : absolute;
      top:0; right:0; bottom:0; left:0;
      overflow-x                 : hidden;
      overflow-y                 : scroll;
      -webkit-overflow-scrolling : touch;
      overflow-scrolling         : touch;
  }
  </code></pre>
  
  <p>Then I use command : cordova run android</p>
  
  <p>note : </p>
  
  <ul>
  <li>I use cordova version 3.3.1-0.3.1</li>
  <li>test on Nexus 7 updated (android kitkat)</li>
  <li>with last android API : 19</li>
  </ul>
  
  <p>Thanks for your help</p>
  
  <p>edit : I just try with iOs simulator (iOS 6.1), the scrollbars are visibles when I scroll ...</p>
  
  <p>[updated]
  Thanks to help me.
  Here is is the correct code to have scrollbars on android</p>
  
  <p>[updated 2]
  It's not totally ok, try this, the whole window scroll, not only the .view content</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;body&gt;
      &lt;div id='views'&gt;
          &lt;div class='view'&gt;
              Lorem ipsum ...
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div id='menu-bt'&gt;&lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>.view {
      position:absolute;
      top:0; right:0; bottom:0; left:0;
      overflow:visible;
      -webkit-overflow-scrolling:touch;
      overflow-scrolling:touch;
  }
  
  #menu-bt {
      position:absolute;
      right:40px; bottom:40px;
      width:50px; height:50px;
      background-color:green;
  }
  </code></pre>
  
  <p>Then, add this line in file /plateforms/android/src/io/cordova/myProject/MyProject.java</p>
  
  <pre><code>super.appView.setVerticalScrollBarEnabled(true);
  </code></pre>