解决方案 »
- Android WebView与JavaSrcipt交互问题
- __android_log_print打印信息乱码(非中文)
- 安卓的九宫图问题
- android使用apache接口访问网络的问题
- 小问题:NDK程序崩溃时,Logcat中不显示栈信息。
- animationdrawable 播放间隔时间不能大于9秒?
- apk更新的时候出现conflicting signature
- android动态生成界面问题
- 最近在做一个安卓桌面锁屏项目,请问HOME该怎么屏蔽
- 子fragment调用MainActivity中
- 刷卡验证程序无法正常启动
- android新手请问setOnClickListener这句中那里错了?
<TextView
android:id="@+id/operation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
/>
改成
<TextView>
android:id="@+id/operation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
</TextView>
android:id="@+id/caculate"
android:layout_width ="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
/>
改成
<Button
android:id="@+id/caculate"
android:layout_width ="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world" />
我的这样改就OK了
“鼠标右键选择Source然后再选Format 就可以解决此问题”
10楼是正解!究其原因
#21楼 正解,太帅了鄙视sb楼主。不过也正是有这个sb 才衬托出21楼的伟大!!!!!