Nested activity is activity that resides within parent activity. A common example is the design of TabHost / TabActivity. In particular, the built-in Acitvities are located in the LocalActivityManager host, which is conceptually similar to the FragmentManager , which allows you to display one action inside another.
Given this definition, it is easy to understand why only a host (non embedded) Activity can support the fitsSystemWindows attribute, since any built-in actions are limited to the scope defined by their host.
It is very unlikely that you accidentally created it.
See: android: using an ActivityGroup to embed actions
Theit
source share