Greetings Tell me how to deal with the following problem: There is a TextView nested in ScrollView; Trying to hide the scroll bar
scrollView.setVerticalScrollBarEnabled(false);
Then I scroll
scrollView.smoothScrollTo(0, iScrollY);
Still, the screen displays a scroll bar at the time of the move; How to hide the scrollbar?
runOnUiThread(new Runnable() { @Override public void run() { scrollView.post(new Runnable() { @Override public void run() { Log.e(" new Runnable", "///////////////////////"); iScrollY = contentNavigate.GetSuflerScrollPosition(); ScrollView scrollView = (ScrollView) findViewById(R.id.scrollView); scrollView.setVerticalScrollBarEnabled(false); scrollView.smoothScrollTo(0, iScrollY); scrollView.setVerticalScrollBarEnabled(true); } }); } });
view.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY)
? - Yuriy SPb ♦