您的位置:首页 > 产品设计 > UI/UE

ArrayAdapter requires the resource ID to be a TextView问题

2014-07-30 14:25 477 查看
<?xml version="1.0" encoding="utf-8"?>

<TextView xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@+id/text_item1"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:gravity="center_vertical"

android:text="@string/hello"

/>

注意红字 改了就不会出现这个异常了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: