0

I have designed a layout to contain a listview inside a scrollview, and have set fillViewPort of scrollview to true. So, when listview's height is gerater than scrollview's visible height, scrollbars show-up and the listview can be scrolled up and down.

Everything works fine on emulator and device running eclair(2.1).

But, when i run the same on device running gingerbread, scrollbars disappear after a few seconds(2, or 3 seconds).

Same behaviour I observed in AVD based on API version 8, but not 7 and below.

Is there anything I'm missing here that is causing this issue?

rekire
  • 47,260
  • 30
  • 167
  • 264
Nitin Bansal
  • 2,986
  • 3
  • 23
  • 30
  • possible duplicate of [Scrollbars disappear after a few seconds in android api version 11](http://stackoverflow.com/questions/9001210/scrollbars-disappear-after-a-few-seconds-in-android-api-version-11) – Jave Jan 27 '12 at 11:25
  • "I have designed a layout to contain a listview inside a scrollview" -- this is not recommended. – CommonsWare Jan 27 '12 at 13:34
  • "this is not recommended" - u mean i shoud change the way i have designed the layout, or something else. Im quite a beginner to android and java both, so, my question might seem a little unusual. Sry 4 dat – Nitin Bansal Jan 27 '12 at 13:50

0 Answers0