Open lkasdolka opened 6 years ago
rt. 请问为啥要将android:windowIsTranslucent属性设置为true,这个属性会使得activity间跳转时,启动者activity只走onPause不走onStop,在背景中应该会不断被绘制,比较影响性能
不用设置也可以的,作者做过改动了,详见Utils这个类的引用
onStop会走的,我测试的要等8s左右
不设置 windowIsTranslucent=true android4.3侧滑会黑屏
onStop会走 但是这个时间上大概需要3秒左右才会回调
rt. 请问为啥要将android:windowIsTranslucent属性设置为true,这个属性会使得activity间跳转时,启动者activity只走onPause不走onStop,在背景中应该会不断被绘制,比较影响性能