Android Studio 有 Hierarchy Viewer 或 Layout Inspector 吗? [英] Does Android Studio have a Hierarchy Viewer or Layout Inspector?
问题描述
我尝试在这里搜索但找不到答案.
I tried searching on here but couldn't find the answer.
我正在寻找一种从 Android Studio 中启动层次结构查看器的方法,而不必在命令行中启动它.我最近从 Eclipse 迁移到 Android Studio,该功能在该 IDE 中的 DDMS 工具集下可用.
I'm looking for a way to launch the Hierarchy Viewer from within Android Studio, rather than having to launch it at the command-line. I've recently migrated to Android Studio from Eclipse, and this functionality was available under the DDMS set of tools in that IDE.
我查看了Android"工具栏下方,可以看到那里的屏幕截图功能,但看不到层次结构查看器.我还查看了菜单系统中的工具 > Android,但它也不在那里.
I've looked under the "Android" toolbar, and can see the screen-shot functionality there, but not the hierarchy viewer. I've also looked under Tools > Android in the menu system, and it's not there either.
推荐答案
DDMS、Hierarchy Viewer、openGL Tracer 等都迁移到 Android Device Monitor 中.访问:
DDMS, Hierarchy Viewer, openGL Tracer etc all moved into Android Device Monitor. To access:
- 在 Android Studio 中:工具"菜单 > Android > Android 设备监视器
- 在 ADM 中:窗口"菜单 > 透视图
- 点击层次结构查看器.
这篇关于Android Studio 有 Hierarchy Viewer 或 Layout Inspector 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!