Android <;标签>;在Kitkat版本中不受支持

Android <;标签>;在Kitkat版本中不受支持,android,android-layout,android-4.4-kitkat,Android,Android Layout,Android 4.4 Kitkat,我在Android中使用查看。我尝试为按钮添加多个标记 <Button android:id="@+id/button" android:layout_width="368dp" android:layout_height="wrap_content" android:text="CLOSE" > <tag androi

我在Android中使用
查看
。我尝试为按钮添加多个标记

    <Button
            android:id="@+id/button"
            android:layout_width="368dp"
            android:layout_height="wrap_content"
            android:text="CLOSE" >
            <tag
                android:id="@+id/close_one"
                android:value="@string/close_one_string" />
            <tag
                android:id="@+id/close_two"
                android:value="@string/close_two_string" />
   </Button>

我在Kitkat平板电脑和棉花糖平板电脑中执行了我的应用程序。在棉花糖中效果很好。但在kitkat,它不会运行

所以,我在网上搜索了与这个话题相关的内容。在stackoverflow中,我找到了一个答案,即API级别21以上支持

之后,我查阅了我发现的Android文档,它支持API级别4


我的问题是如何支持Kitkat中的

您在文档中引用的标记是在您从代码调用它时使用的。xml
仅在API 21+

上可用。您在文档中引用的标记是在您从代码调用它时使用的。xml
仅在API 21+

上可用。是否没有选项在低于21的xml API级别中添加多个标记?是否没有选项在低于21的xml API级别中添加多个标记?