0

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.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245

1 Answers1

0

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