为申请中的所有活动申请 android:excludeFromRecents
Apply android:excludeFromRecents for all activities in application
有没有办法为应用程序中的所有活动设置 android:excludeFromRecents="true"
而不是为每个 activity 指定?
No. You can not use android:excludeFromRecents="true"
in application tag. You have to use this property for each activity seperately. For more go to this link and see different properties only in <activity>
tag.
https://developer.android.com/guide/topics/manifest/activity-element#exclude
有没有办法为应用程序中的所有活动设置 android:excludeFromRecents="true"
而不是为每个 activity 指定?
No. You can not use
android:excludeFromRecents="true"
in application tag. You have to use this property for each activity seperately. For more go to this link and see different properties only in<activity>
tag. https://developer.android.com/guide/topics/manifest/activity-element#exclude