void makeButtonsView() { mButtonsView = getLayoutInflater().inflate(R.layout.buttons, null); mFilenameView = (TextView) mButtonsView.findViewById(R.id.docNameText); mPageSlider = (SeekBar) mButtonsView.findViewById(R.id.pageSlider); mPageNumberView = (TextView) mButtonsView.findViewById(R.id.pageNumber); mSearchButton = (ImageButton) mButtonsView.findViewById(R.id.searchButton); mCancelButton = (ImageButton) mButtonsView.findViewById(R.id.cancel); mOutlineButton = (ImageButton) mButtonsView.findViewById(R.id.outlineButton); mTopBarSwitcher = (ViewSwitcher) mButtonsView.findViewById(R.id.switcher); mSearchBack = (ImageButton) mButtonsView.findViewById(R.id.searchBack); mSearchFwd = (ImageButton) mButtonsView.findViewById(R.id.searchForward); mSearchText = (EditText) mButtonsView.findViewById(R.id.searchText); // XXX mLinkButton = (ImageButton)mButtonsView.findViewById(R.id.linkButton); mTopBarSwitcher.setVisibility(View.INVISIBLE); mPageNumberView.setVisibility(View.INVISIBLE); mPageSlider.setVisibility(View.INVISIBLE); }