xmlns:android 命名空间
命名空间(红色部分):可以提示语法错误
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<Button android:layout_height="wrap_content" android:text="GoGo" android:layout_width="wrap_content" android:id="@+id/Button01"></Button>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:scrollbars="vertical" android:fadingEdge="vertical">
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@+id/TextView01"
android:paddingTop="5dip" />
</ScrollView>
</LinearLayout>
</LinearLayout>
更多相关文章
- Catalog Service - 解析微软微服务架构实例代码
- 介绍一个微软开源项目网站--CodePlex
- 具体分析微软的xml解析器
- 继 GitHub 后微软又收购了 npm
- 想来微软实习吗?
- 尝鲜!微软首个AI量化投资开源平台Qlib上手体验!
- 10% + 10% = 0.11 ?是 bug 还是 feature ?微软开源的计算器项目告
- 大新闻!Python 之父重新出山,加入微软开发部
- GitHub 热门:微软新开源的 Python 静态类型检查器