Lines Matching refs:bar
32 * This demo shows how various action bar display option flags can be combined and their effects.
52 // Configure several action bar elements that will be toggled by display options.
57 final ActionBar bar = getSupportActionBar();
58 bar.setCustomView(mCustomView, mCustomViewLayoutParams);
60 final ArrayAdapter<String> listAdapter = new ArrayAdapter<String>(bar.getThemedContext(),
64 bar.setLogo(R.drawable.ic_media_play);
81 final ActionBar bar = getSupportActionBar();
114 bar.setCustomView(mCustomView, lp);
118 if (bar.isShowing()) {
119 bar.hide();
121 bar.show();
126 int change = bar.getDisplayOptions() ^ flags;
127 bar.setDisplayOptions(change, flags);