How to Hide Scrollbars in ScrollView in Android


If you want to hide the default scrollbars in ScrollView control you can use the following methods:

ScrollView sv = (ScrollView)findViewById(R.id.ScrollView1); 

sv.setVerticalScrollBarEnabled(false); 
sv.setHorizontalScrollBarEnabled(false);

 

 

About author


User avatar

Waqas Anwar

Founder of EzzyLearning.com, Senior Consultant, Microsoft .NET and Web Technologies

Comments