Questions tagged [contextual-action-bar]

The contextual action bar (CAB) is a temporary action bar that overlays the app's current action bar while data is selected. It appears after the user long-presses on a selectable data item.

The contextual action bar from the platform was introduced in API level 11(Honeycomb) to provide a new way to show contextual actions for selected content instead of the traditional context menu. Although it was introduced in the SDK starting with Honeycomb the contextual action bar is available to lower API versions thanks to various libraries(like the ActionBarSherlock library). The contextual action bar should be preferred to the old context menu because it offers a richer and better user experience. More information about the contextual action bar can be found in:

219 questions
0
votes
1 answer

How to implement your own SelectAll,Cut,Copy,Paste in Webview

I'm implementing Rich Edit Text using WebView,Buttons for editor actions are displayed in contextual action bar(CAB),on long press on of webview it's default CAB is shown button,I understood Webview doesn't provide any provision to customize it's…
Dev.Sinto
  • 6,802
  • 8
  • 36
  • 54
0
votes
1 answer

Where to handle CAB actions of a list item that are common with detail?

lets say I have master/detail pattern using fragments, so as usual, the detail fragment would be inside new activity on a phone and on a tablet it would be inside the previous activity that list fragment is in also. Old stuff. I have some actions to…
urSus
  • 12,492
  • 12
  • 69
  • 89
0
votes
1 answer

Coordinate contextual actionbar with Maps API v2 info window display

I would like to sync the display of a contextual actionbar menu with info windows from the Google Maps API v2. The main issue I am having is that there appears to be no way to reliably monitor the state of an info window and the two UI pieces easily…
wnayes
  • 15
  • 2
0
votes
1 answer

Position-dependent actions with ActionMode as with Context Menu

In older apps I would typically use onCreateContextMenu() with the following signature for context actions: public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) The menuInfo would…
pjv
  • 10,658
  • 6
  • 43
  • 60
0
votes
0 answers

Implementing contextual action bar disables row click highlighting

I've implemented a single row contextual action bar following the instructions from Google. The instructions say to add an OnLongClickListener to each view and since I'm using a CustomAdapter, I implemented it on each row using this code: …
Kris B
  • 3,436
  • 9
  • 64
  • 106
-1
votes
2 answers

How to get a Contextual Action Bar visibility?

My question is pretty simple.How can I get a Contextual Action Bar (CAB) visibility? For instance, I have a ActionMode and a callback. mActionMode = activity.startActionMode(mCallback); Now I need to know if the CAB is visible or not. Any ideas?
rafaelc
  • 57,686
  • 15
  • 58
  • 82
-1
votes
2 answers

How can i open a contextual floating menu upon a single click?

I was working for my college project, for a typical user interaction app . I have implemented a button that upon a long click will open up a floating contextual menu . Is there any way to open this menu upon a single click .I have checked around the…
-1
votes
1 answer

CAB (Contextual Action Bar)

I have one question and my question was "Can we show the default FIND function in CAB on actionbar by clicking the button or action item on action bar?". Please your ideas
Beginner
  • 85
  • 10
-2
votes
1 answer

Contextual action mode on top of action bar

Recently I switched to the v7 Support Library to integrate Material Design elements. Since then, my contextual action mode is displayed on top of my action bar instead of replacing it (like in another activity of my app). actionMode on top of…
1 2 3
14
15