How to use over scroll mode in Android
09:02 02 Sep 2013

Problem

I need to give some priority for scrolling events in my Activity.

I'm using aiCharts (charts library) and I need to zoom, pan, etc. on my areas. Without any ScrollViews it works fine, but, if I use the mentioned Layout, these features works bad. I think because of priority of views.

Possible solution

I tried to use setOverScrollMode(View.OVER_SCROLL_ALWAYS); on views that need to be on "top" of ScrollView and HorizontalScrollView but doesn't work properly.

Layout

 

        

            
                    
        
    

All my views are added programmatically by adding to RelativeLayout.

android android-layout android-scrollview