命名空间(红色部分):可以提示语法错误

<?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>

更多相关文章

  1. android设置背景图片透明
  2. Android——SeekBar(拖动条)相关知识总结贴
  3. Ubuntu 11.04 下搭建Android(安卓)NDK开发环境
  4. SDK中模拟器创建命令行!!!
  5. Android的进程优先级与进程回收详解
  6. shape.gradient使用示例
  7. vs2015 支持Android(安卓)arm neon Introducing Visual Studio’
  8. Android专利地雷曝光 中国粉丝忧虑情绪蔓延
  9. Android专利地雷曝光 中国粉丝忧虑情绪蔓延

随机推荐

  1. Android机顶盒 adb命令模拟遥控器操作
  2. Android 常用ADB命令汇总!!! -- 持续补充
  3. Android中 备份短信 还原短信
  4. Animator记录一次属性动画实现的逐渐出现
  5. android链接rest services
  6. Android(安卓)studio修改apk release打包
  7. Android kotlin上传头像实现
  8. 《阿里巴巴Android开发手册》《深入探索A
  9. 使用 IntelliJ Debug Android 源码
  10. android背景选择器selector用法汇总