1

If we are providing compatibility for ContextualActionBar to a lower Android version, should we fall back to a floating context menu on those devices(below Android 3.0) ?

is there no support from AppCompat Support Library from Google?

will ActionBarSherlock support ContextualActionBar in Lower Android devices?

enter image description here

saravanan
  • 5,339
  • 7
  • 45
  • 52

2 Answers2

2

The Contextual Action Bar is supported in the Android Support Appcompat via ActionBarActivity.startSupportActionMode

ianhanniballake
  • 191,609
  • 30
  • 470
  • 443
1

http://developer.android.com/guide/topics/ui/menus.html#context-menu

Quoting from the docs

Note: The contextual action mode is available on Android 3.0 (API level 11) and higher and is the preferred technique for displaying contextual actions when available. If your app supports versions lower than 3.0 then you should fall back to a floating context menu on those devices.

Android compatibility contextual action bar

Community
  • 1
  • 1
Raghunandan
  • 132,755
  • 26
  • 225
  • 256