搜索Android Studio中的布局设计面板组件 [英] Search for components in the layout designer palette of Android Studio
问题描述
有没有办法通过名字在Android Studio的布局设计调色板来搜索一个组成部分?
Is there any way to search for a component by name in the Android Studio layout designer palette?
目前它仅仅是一个在某些类别分组的组件列表中,但有甚不排序在一个组。
Currently it is just a list of components grouped in some categories but there is even no sorting in the single groups.
我试图找到android.widget.SearchView组件,但不这样做。我不知道是否我刚刚错过它,或者它是不是在这里。
I try to find the android.widget.SearchView component but fail to do so. I'm not sure whether I just miss it or it is not here.
推荐答案
这是容器下。
是的,它没有任何意义。
Yes it does not make sense.
和列表是很难codeD此处<一个href=\"https://android.googlesource.com/platform/tools/adt/idea/+/master/android/src/com/intellij/android/designer/model/views-meta-model.xml\" rel=\"nofollow\">https://android.googlesource.com/platform/tools/adt/idea/+/master/android/src/com/intellij/android/designer/model/views-meta-model.xml
查看文档的末尾,你会看到分组。是的,这是非常过时,有 FILL_PARENT
而不是 match_parent
无处不在。
And the list is hardcoded here https://android.googlesource.com/platform/tools/adt/idea/+/master/android/src/com/intellij/android/designer/model/views-meta-model.xml
see the end of the document, and you will see the groupings. And yes this is very outdated, having fill_parent
instead of match_parent
everywhere.
这篇关于搜索Android Studio中的布局设计面板组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!