When using Theme.Sherlock.Light.DarkActionBar
(or Theme.Holo.Light.DarkActionBar
, doesn\'t make a difference), the ActionMode (or \"contextual ActionB
I tried abovementioned solutions, the only one that worked for me (I have app targeted for API 7, with AppCompat 21.0.3) is to set the dialog style to R.style.Theme_AppCompat. Yes, the stupid dialog is now black. This issue is also present in AppCompat 22.
final Context themedContext = new ContextThemeWrapper(activity, R.style.Theme_AppCompat);
builder = new AlertDialog.Builder(themedContext);
contents = ((LayoutInflater) themedContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(R.layout.tag_editor, null);
builder.setView(contents);