Tech tip of this week

Hide Horizontal/vertical scroll bar views

To hide the scroll bar add below property in xml file:

android:scrollbars="none"

To achieve this programatically using below methods:

view.setVerticalScrollBarEnabled(false);
view.setHorizontalScrollBarEnabled(false);

No comments:

Post a Comment