Skip to content Skip to sidebar Skip to footer

How To Show A Holo (dark) Alertdialog In A Themed Activity?

I have tried to use a content wrapper: ContextThemeWrapper wrapper = new ContextThemeWrapper(this, android.R.style.Theme_Holo_Dialog); AlertDialog.Builder builder = new AlertDialog

Solution 1:

You are using the actionbar's theme instead use the theme made for dialog

sample:

ContextThemeWrapperwrapper=newContextThemeWrapper(this, android.R.style.Theme_Holo_Dialog;);

Post a Comment for "How To Show A Holo (dark) Alertdialog In A Themed Activity?"