garretyoder/Colorful

startSupportActionMode works not propertly with Colorful

iq1 opened this issue · 0 comments

iq1 commented

I have added Colorful library into my app and ActionMode is broken now. Action toolbar appears above the toolbar. Looks like Colorful style doesn't have or ignore my windowActionModeOverlay.

Library initialized as:

 CustomThemeColor defaultTheme = new CustomThemeColor(
                this,
                R.style.my_default_primary_color,
                R.style.my_default_rimary_dark_color,
                R.color.colorPrimary,
                R.color.colorPrimary
        );
        Defaults themeDefaults = new Defaults(
                defaultTheme,
                defaultTheme,
                false,
                false,
                R.style.AppTheme
        );
        initColorful(this, themeDefaults);

Activity extends CAppCompatActivity. But startSupportActionMode leads to this:
screen

Do you know how to fix this?