Android layout 当我有<;合并>;作为<;布局>;

Android layout 当我有<;合并>;作为<;布局>;,android-layout,android-studio,intellij-idea,autocomplete,intellisense,Android Layout,Android Studio,Intellij Idea,Autocomplete,Intellisense,我的布局中有以下内容: <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:descendantFocusability="beforeDescendants" android:

我的布局中有以下内容:

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:descendantFocusability="beforeDescendants"
    android:id="@+id/layoutId">

    <data>
        <variable name="data" type="com.example.android.Person"/>
    </data>

        <TextView ... //**YES** Intellisense or autocompletion

    <merge>

        <TextView ... //No Intellisense or autocompletion

        <Spinner ... //No Intellisense or autocompletion

    </merge>
</layout>


应该是根标记。然后完成就可以了:

我仍然希望将
作为根标记进行维护。所以我不得不废除