Open zhanghai opened 5 years ago
Does this also fix the touch issues? Currently, with clipToPadding="false", the scroller is drawn correctly (with the same padding), but it still treats touch input as though there is no padding (and thus you have to drag your finger further than where the scroller is drawn).
While respecting paddingTop/Bottom is good,
RecyclerView
does draw in the padding ifclipToPadding="false"
is specified (and this is important for use cases like reserving some bottom space for a FAB, so that the last list item can always scroll above it and be fully visible). In this case the library should also draw in the padding. That is, the fix in 472ee5f5d2cb9da70c45a4b2cadcdfacafe2972a should be applied only whenView.getClipToPadding()
istrue
.