@Override public View initView() { View inflate = mLayoutInflater.inflate(R.layout.news_detail_content, null); ScrollView scrollView = (ScrollView) inflate.findViewById(R.id.scrollView); scrollView.smoothScrollTo(0, 0); scrollView.setVerticalScrollBarEnabled(false); scrollView.setOverScrollMode(View.OVER_SCROLL_NEVER); titleContainer = (RelativeLayout) inflate.findViewById(R.id.title_container); titleContainer.setBackgroundColor( changeBackgroundColor(mSharedPreferences.getInt(Constracts.KEY_THEME, 0))); return inflate; }