Android学习ING,遇到一个错误.

<?xml version="1.0" encoding="utf-8"?><RelativeLayout                 xmlns:android="http://schemas.android.com/apk/res/android"                android:layout_width="fill_parent"                 android:layout_height="wrap_content"                 android:padding="10dip"                  android:background="#0000FF"><TextView android:text="请输入用户名:" android:id="@+id/label" android:layout_width="fill_content" android:layout_height="wrap_content" /></RelativeLayout>

报错:

error: Error: String types not allowed (at 'layout_width' with value 'fill_content').

为什么?按照书上的代码打的!实在不知道错在哪儿了!囧!

更多相关文章

  1. Android Studio 打包错误org.gradle.api.InvalidUserDataExcepti
  2. 编译代码报出Android library projects cannot be launched错误
  3. Android:常见错误提示
  4. Ubuntu 13.04 编译环境配置及android 2.3 源代码编译时出现了以
  5. android之android.os.NetworkOnMainThreadException错误
  6. android提示错误: The process android.process.acore has stoppe
  7. Android 出现open failed: EACCES (Permission denied)错误**
  8. Android requires compiler compliance level 5.0. Please fix p

随机推荐

  1. [置顶] Android平板、TV中对GridView的优
  2. android 快速入门
  3. Android应用的基本原理
  4. INSTALL_FAILED_NO_MATCHING_ABIS 的解决
  5. android平台移植valgrind
  6. 仿写android音乐播放器的问题
  7. Android资源文件简介
  8. Android数据存储--sqlite
  9. Android 4.1的新特性介绍
  10. Android图片异步加载的实现