原理监听ScrollView的滑动@OverridepublicvoidonScrollChanged(ObservableScrollViewobservableScrollView,intx,inty,intoldx,intoldy){Log.d(TAG,"onScrollChanged:"+x+""+y+""+oldx+""+oldy);if(y<=0){mRlTitleContainer.setBackgroundColor(Color.argb((int)0,245,119,8...
查看全文