1. Background Introduction
When using controls such as ScrollView and ListView, the default is to have a sliding control on the right hand side. When we swipe with our fingers, it shows that the control is less comfortable and affects the user experience. Here's how to show you how to not display a slide control.
2, ScrollView not show
Directly on the code, as follows:
<scrollview android:layout_width= "fill_parent" android:layout_height= "Fill_parent" android: layout_below= "@id/the_head_view" android:focusable= "true" android:focusableintouchmode= "true" Android:scrollbars= "None" ></ScrollView>
3. ListView does not display
<listview android:scrollbars= "None" android:layout_width= "fill_parent" android:layout_height= " Wrap_content "> </ListView>
4. Summary
Actually, you just need a code, that's all.
Android:scrollbars= "None"
This is not to show bar this control. However, it is important to note that ScrollView may sometimes need to be used in conjunction with this feature alone, and the slide control cannot be displayed.
No display of slide controls in Android