List of usage examples for android.view View setVerticalScrollBarEnabled
public void setVerticalScrollBarEnabled(boolean verticalScrollBarEnabled)
Define whether the vertical scrollbar should be drawn or not.
From source file:li.barter.fragments.BookDetailFragment.java
@Override public View onCreateView(final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) { init(container, savedInstanceState); setActionBarTitle(R.string.Book_Detail_fragment_title); final View view = inflater.inflate(R.layout.fragment_book_detail, container, false); view.setVerticalScrollBarEnabled(false); initViews(view);// w ww. j a v a 2s.c om getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN); mDeleteBookDialogFragment = (AlertDialogFragment) getFragmentManager() .findFragmentByTag(FragmentTags.DIALOG_DELETE_BOOK); final AbstractBarterLiFragment fragment = ((AbstractBarterLiActivity) getActivity()) .getCurrentMasterFragment(); if (fragment != null && fragment instanceof BooksPagerFragment) { mLoadedIndividually = false; } else { mLoadedIndividually = true; } if (savedInstanceState == null) { mBookDetails = getArguments(); } else { mBookDetails = savedInstanceState.getBundle(Keys.BOOK_DETAILS); } setHasOptionsMenu(mLoadedIndividually); loadBookDetails(); return view; }