I solved this problem by using NestedScrollView instead of ScrollView.
And for RecyclerView:
<android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="match_parent" /> And in Code
recyclerView.setHasFixedSize(true); recyclerView.setNestedScrollingEnabled(false);