why do I get xmlns: android="http://schemas.android.com/apk/res/android"
after the text view class when I'm trying to run the basic XML code?
On android studio, it runs fine with it, but on Udacity ( where I'm learning from ) it's not a part of code.
When you use android:id="@+id/yourViewId" You are actually calling: http://schemas.android.com/apk/res/android:id
You can also call other namespaces like app and tools.
You can find more information here: Android XML Namespaces
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.