The slide control is not displayed in Android, And the android slide control is
1. Background
When using controls such as ScrollView and ListView, a sliding control is displayed on the right hand side by default. When we slide with our fingers, it is displayed that this control is not so comfortable and affects the user experience. Here is how to show the sliding control.
2. ScrollView not displayed
The Code is 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 is not displayed
<ListView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content" > </ListView>
4. Summary
In fact, you only need a line of code, that is
android:scrollbars="none"
The bar control is not displayed. However, it should be noted that ScrollView may sometimes need to be used in combination. This feature is used only separately, and the sliding control cannot be displayed.