首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Android >

Andriod xml文件查错解决方法

2012-04-26 
Andriod xml文件查错?xml version1.0 encodingutf-8?LinearLayout xmlns:androidhttp://schema

Andriod xml文件查错
<?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"
  android:orientation="vertical" >

  <TextView
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  />
  <Button andriod:layout_width="fill_parent"
  andriod:layout_height="wrap_content"
  />

</LinearLayo


红字处为什么会报错

[解决办法]
andriod:layout_width
写错了,应该是,是roid,不是riod
android:layout_width

热点排行