What's the NoSaveStateFrameLayout?

前端 未结 1 529
长情又很酷
长情又很酷 2021-01-07 18:25

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. B

相关标签:
1条回答
  • 2021-01-07 18:33

    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.
     */
    
    0 讨论(0)
提交回复
热议问题