I have an activity that has android:windowIsTranslucent set to true and android:windowBackground set to a translucent background. I ju
android:windowIsTranslucent
true
android:windowBackground
Thanks @JerabekJakub. My test result - keep sdk 27 and remove the following lines can also solve the crash.
android:configChanges="orientation" android:screenOrientation="portrait"