Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚开始学习android,下面的代码似乎是正确的,但我得到了错误。请帮忙。
<TextView android:id="@+id/intro" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Enter some text:" />
确保您已添加xmlns:android="http://schemas.android.com/apk/res/android"到您的第一个 XML 元素(在<xml>标记之后)。
xmlns:android="http://schemas.android.com/apk/res/android"
<xml>