问题说明: AndroidRuntime(1705): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.activitytest/com.example.activitytest.SecondActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f070001 type #0x12 is n…
新手编程常见的问题: 问题表现: console提示:No Launcher activity found! The launch will only sync the application package on the device! 解决办法:检查AndroidManifest.xml中是否添加如下代码: <intent-filter > <action android:name="android.intent.action.MAIN"/> <cat…
转自: http://blog.csdn.net/brokge/article/details/8536906 setTag是android的view类中很有用的一个方法,可以用它来给空间附加一些信息,在很多场合下都得到妙用. setTag(Object tag)方法比较简单,这里主要谈一谈带两个参数的setTag方法. 官方的api文档中提到:“ The specified key should be an id declared in the resources of the applica…