gpt4 book ai didi

android - xmlns :android?是什么意思

转载 作者:数据小太阳 更新时间:2023-10-29 02:32:04 27 4
gpt4 key购买 nike

为什么大家都用http://schemas.android.com/apk/res/android ?有时我需要使用与此 url 不同的东西吗?谁需要这个 url?,就像包一样我的意思是它有什么意义

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"

最佳答案

xmlns 定义一个 XML 命名空间

使用的 URI,即使它不指向现有资源,通常也指向 ( quoting ) 作者或组织控制下的资源定义词汇


有关更多信息,请查看 XML namespace .

关于android - xmlns :android?是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6731943/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com