logcat里面肯定有错误信息的。
解决方案 »
- ListView和Button在一起的时候的一个问题
- 编译太慢 有解决办法没有?
- 大家都来说说Android中的消息接收和处理
- 用adb工具复制文件到模拟器出错,怎么回事?
- 材质消失了?
- Google map怎么获取一个地点的详细信息
- 麻烦帮忙看一下代码哪里错了,一运行软件就停止
- 很急!!! java.lang.NoClassDefFoundError: com.android.volley.toolbox.Volley
- 请教关于AsyncTask的问题
- 在线等!!!求大神救命!!!我的sqlite插入的5条数据都没有显示
- micro sd卡问题
- 结束当前Activity返回前一个Activity要怎么做
多加些Log输出
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<EditText
android:id="@+id/search_edit"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
</EditText>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
</ListView>
</LinearLayout>ListView要有