MLM*_*MLM 4 android android-layout android-studio android-layout-editor
在 Android Studio 中, Tools -> Layout Inspector,视图树中的灰色(柔和、暗淡)视图是什么意思?该图层仍然具有VISIBLE属性
我在文档中没有看到任何解释,https://developer.android.com/studio/debug/layout-inspector并且在悬停视图时没有工具提示。

上下文/参考,我想弄清楚为什么片段没有显示在向上id/content_container,https://gitlab.com/gitlab-org/gitter/gitter-android-app/issues/108
该项目是开源的,如果你想自己查看代码,https://gitlab.com/gitlab-org/gitter/gitter-android-app
View在拍摄 LayoutInspector 快照时不会呈现变灰的s,因为它们不需要显示。
例子:
NavigationView代码中的当前处于隐藏状态(可以测试,如果我打开它,并采取与LayoutInspector另一个快照是正确的)RecyclerView中NavigationView显示为灰色,只要它没有分配给它(也许还有,如果它是空的-没有测试)适配器Views 不适合屏幕,比如当你忘记制作LinearLayout“垂直”时,所以它的大多数孩子都在屏幕右边缘的右侧| 归档时间: |
|
| 查看次数: |
2013 次 |
| 最近记录: |