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 google map apiKey 相关操作
  2. PhoneGap Android(安卓)hello android:minSdkVersion="8"
  3. mac添加android的adb等工具到环境变量
  4. 小编程(三):用户登录注册界面开发及用户信息管理案例代码详解
  5. [Android]Android(安卓)Studio获取开发版和发布版的MD5和SHA1
  6. android项目案例6- 基于Android(安卓)studio的android用户注册
  7. android第一天
  8. android项目案例5- 基于Android(安卓)studio的android用户登陆
  9. [Android]Android(安卓)Studio获取开发版和发布版的MD5和SHA1

随机推荐

  1. Android启动activity的几种方式
  2. android真机调试出现offline解决方法
  3. [Android]编译错误:Could not get unknow
  4. 手机蓝牙和蓝牙模块进行通信
  5. android百度地图:MapController
  6. android 浅谈service
  7. android格式化日期与时间戳学习
  8. 组件(Widget)的复合使用
  9. Android(安卓)BLE 总结-源码篇(BluetoothL
  10. Android(安卓)之 Bitmap