Implement method for determining if content is vertically scrollable for gb

Since Viewcompat.canscrollvertically always returns false on sdk <= gb,
use the type of the view to determine if the content that is scrollable
in the swiperefreshlayout is scrolled to the top.
Fixes b/11988379 SwipeRefreshLayout behaves differently on GingerBread than KitKat

Change-Id: Iacb999c99e6918acd5a0d3c88806d13c16bb8b52
1 file changed