Remove scroll bar track from ScrollView in Android Remove scroll bar track from ScrollView in Android android android

Remove scroll bar track from ScrollView in Android


try this is your activity onCreate:

ScrollView sView = (ScrollView)findViewById(R.id.deal_web_view_holder);// Hide the ScollbarsView.setVerticalScrollBarEnabled(false);sView.setHorizontalScrollBarEnabled(false);

http://developer.android.com/reference/android/view/View.html#setVerticalScrollBarEnabled%28boolean%29


I'm a little confused why you are putting a WebView into a ScrollView in the first place. A WebView has it's own built-in scrolling system.

Regarding your actual question, if you want the Scrollbar to show up on top, you can use

view.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY) or   android:scrollbarStyle="insideOverlay"