android - http ://schemas. android.com/apk/res/android 这个 URL 指向哪里...?

标签 android android-layout xml-namespaces

我不知道 url 在哪里: http://schemas.android.com/apk/res/android ? 有人可以让我知道这指向哪里吗? 为什么我们不能访问 xmlns:android namespace for android xml 中提到的这个 URL?

最佳答案

您无法访问它,因为它是 URI 而不是 URL,区别已得到很好的解释 here :

Uniform Resource Identifier (URI)

A Uniform Resource Identifier (URI) is a string of characters which identifies an Internet Resource.

The most common URI is the Uniform Resource Locator (URL) which identifies an Internet domain address. Another, not so common type of URI is the Universal Resource Name (URN).

因此,在某些情况下,您可能能够访问它并且它可能包含命名空间的描述。

关于android - http ://schemas. android.com/apk/res/android 这个 URL 指向哪里...?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38160788/

相关文章:

android - 上滑屏安卓

WCF 命名空间使用

xml - Clojure:data.xml:创建名为 "xlink:href"的键

android - 如何在 android 中按需更改通话语音? (将男人换成女人等)

android - 无法从 onOptionsItemSelected 中使用 LayoutInflater

android - ListView 内的按钮不可点击

android - 如果我有很多布局该怎么办?

python - 如何使用python获取具有默认命名空间的xml文件中所有元素的xpath?

java - 有没有办法从处理程序中删除匿名 Runnable?

java - 使用“今天”按钮更新 Android DatePickerDialog 中的日期而不关闭对话框