在开发android的时候,我们在开发布局文件时通常会用到xml。
例子)
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
...
Run Code Online (Sandbox Code Playgroud)
我当时有一个疑问。如何访问http://schemas.android.com/apk/res/android?
因为我查到了一些资料。我知道这不是 URL,而是 URI。所以无法通过互联网访问。那么命名空间信息在哪里呢?如何访问该信息?