I've been reading about layout optimization from the Android Dev blogs and I've been using hierarchyviewer to see where I can possibly flatten or merge layouts/elements. But here is something that I keep seeing in my view hierarchy...NoSaveStateFrameLayout. Can anyone shed some light on this? It shows up (usually) before a LinearLayout and it seems quite useless and just adds another (unnecessary) level to the hierarchy. I tried searching for what this is but I've had no luck.
It's an implementation detail of the support library's fragment implementation. This is the comment from it:
/**
* Pre-Honeycomb versions of the platform don't have {@link View#setSaveFromParentEnabled(boolean)},
* so instead we insert this between the view and its parent.
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With