Currently the horizontal scroll bar is visible only when the user is interacting with it.But I want the scroll bar should blink always so that the user can know that there is some item present to the right.I dont want to keep it visible always.If any one is having solution for it then please let me know.
<HorizontalScrollView
android:id="@+id/featured_horizontal"
android:layout_below="@id/featured_bar"
android:layout_marginTop="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
Timer timer = new Timer();
timer.schedule(new TimerTask() {
@Override
public void run() {
runOnUiThread(new Runnable() {
@Override
public void run() {
horScrollViewOG.scrollBy(1, 0);
horScrollViewOG.scrollBy(-1, 0);
}
});
}
}, 0, 1000);
Check this, it will scroll the list view programtically, which will display the scroll bar