单个配置activity或者application全局配置标签:style,anim,slide,right,activity,android From: https://www.cnblogs.com/mamamia/p/18325292
<style name="translucent" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:windowNoTitle">true</item>
<item name="android:windowTitleSize">40dip</item>
<item name="android:screenOrientation">user</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:homeAsUpIndicator">@drawable/ic_back</item>
<item name="android:activityOpenEnterAnimation">@anim/slide_in_right</item>
<item name="android:activityOpenExitAnimation">@anim/slide_out_left</item>
<item name="android:activityCloseEnterAnimation">@anim/slide_in_left</item>
<item name="android:activityCloseExitAnimation">@anim/slide_out_right</item>
</style>