Ah, it may be the outline effect! I only used it on the loader layout to make the text better readable. But this strange "artifacts" only appeared after upgrading to Android 12 on my new Samsung phone. But in the editor everything looks fine.
Is this a bug?