I have a ScrollView over the complete view. And in the same view I am having a smaller ScrollView which scrolls some text. The problem I am facing is that when I try scrolling the smaller ScrollView I can hardly scroll it. It is the main ScrollView which keeps on scrolling.
I tried using the following
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.article);
if(scrollText.isInTouchMode())
{
scrollArticle.setEnabled(false);
}
/*
Some code
*/
}
But it didn’t work. What might be the problem?
Thanks
Problem is in putting
ScrollViewinside anotherScrollView. It wouldn’t work. Try rethink your UI.