Android-DragDismissActivity icon indicating copy to clipboard operation
Android-DragDismissActivity copied to clipboard

Unable to open MaterialAlertDialogBuilder

Open ghost opened this issue 5 years ago • 0 comments

I'm inheriting the DragDismissTheme,

apparently this theme doesn't support to launch MaterialAlertDialog

getting below error - java.lang.IllegalArgumentException: com.google.android.material.dialog.MaterialAlertDialogBuilder requires a value for the :attr/colorSurface attribute to be set in your app theme. You can either set the attribute in your theme or update your theme to inherit from Theme.MaterialComponents (or a descendant).

my theme -

ghost avatar Mar 15 '19 09:03 ghost