Buggy code:
public class NoticeActivity extends MenuBaseActivity implements ViewPager . OnPageChangeListener , View . OnClickListener , ScrollTabHolder { private final String [ ] TITLES = new String [ ] { "공지사항" , "학사제도" , "장학제도" } ; private View mHeader ; private ViewPager mViewPager ; private NoticeActivity . PagerAdapter mPagerAdapter ; private int mActionBarHeight ; private int mHeaderHeight ; private int mMinHeaderTranslation ; private TextView actionBarHeaderTitleView ; private PagerSlidingTabStrip mPagerSlidingTabStrip ; private TypedValue mTypedValue = new TypedValue ( ) ; public static float clamp ( float value , float max , float min ) { } @ Override public void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; int mMinHeaderHeight = getResources ( ) . getDimensionPixelSize ( parallax_min_header_height ) ; <START_BUG> mHeaderHeight = getResources ( ) . getDimensionPixelSize ( header_height ) ; <END_BUG> mMinHeaderTranslation = ( - mMinHeaderHeight ) + ( getActionBarHeight ( ) ) ; setContentView ( activity_notice ) ; KenBurnsSupportView mHeaderPicture = ( ( KenBurnsSupportView ) ( findViewById ( notice_header_picture ) ) ) ; mHeaderPicture . setResourceIds ( bg_notice_1 , bg_notice_2 , bg_notice_3 , bg_notice_4 ) ; mHeader = findViewById ( header ) ; mPagerSlidingTabStrip = ( ( PagerSlidingTabStrip ) ( findViewById ( notice_tabs ) ) ) ; mViewPager = ( ( ViewPager ) ( findViewById ( notice_viewpager ) ) ) ; mViewPager . setOffscreenPageLimit ( 3 ) ; getNoticeData ( ) ; mPagerSlidingTabStrip . setOnPageChangeListener ( this ) ; mPagerSlidingTabStrip . setTypeface ( null , NORMAL ) ; actionBarHeaderTitleView = ( ( TextView ) ( findViewById ( notice_header_title ) ) ) ; findViewById ( open_menu ) . setOnClickListener ( this ) ; } private void getNoticeData ( ) { } @ Override public void onPageScrollStateChanged ( int arg0 ) { } @ Override public void onPageScrolled ( int position , float positionOffset , int positionOffsetPixels ) { } @ Override public void onPageSelected ( int position ) { } @ Override public void onScroll ( AbsListView view , int firstVisibleItem , int visibleItemCount , int totalItemCount , int pagePosition ) { } @ Override public void adjustScroll ( int scrollHeight ) { } public int getScrollY ( AbsListView view ) { } @ TargetApi ( VERSION_CODES . HONEYCOMB ) public int getActionBarHeight ( ) { } private void setTitleAlpha ( float alpha ) { } @ Override public void onClick ( View v ) { } public class PagerAdapter extends FragmentPagerAdapter { private SparseArrayCompat < ScrollTabHolder > mScrollTabHolders ; private ScrollTabHolder mListener ; private HashMap < String , ArrayList < NoticeItems > > itemes ; public PagerAdapter ( FragmentManager fm , HashMap < String , ArrayList < NoticeItems > > objects ) { } public void setTabHolderScrollingContent ( ScrollTabHolder listener ) { } @ Override public CharSequence getPageTitle ( int position ) { } @ Override public int getCount ( ) { } @ Override public Fragment getItem ( int position ) { } public SparseArrayCompat < ScrollTabHolder > getScrollTabHolders ( ) { } } No newline ; at end ; of file ; }

Fix:
mHeaderHeight = getResources ( ) . getDimensionPixelSize ( parallax_header_height ) ;