在Android Studio的布局设计器面板中搜索组件

时间:2015-03-04 12:43:26

标签: android android-studio

有没有办法在Android Studio布局设计器调色板中按名称搜索组件?

目前,它只是在某些类别中分组的组件列表,但在单个组中甚至没有排序。

我试图找到android.widget.SearchView组件,但没有这样做。我不确定我是否只是错过它或它不在这里。

1 个答案:

答案 0 :(得分:1)

它在容器下。

enter image description here

是的没有意义。

这里的列表是硬编码的https://android.googlesource.com/platform/tools/adt/idea/+/master/android/src/com/intellij/android/designer/model/views-meta-model.xml 看到文档的结尾,你会看到分组。是的,这已经过时了,到处都是fill_parent而不是match_parent