创建对话框时出现下面的错误: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a nu ...
分类:
移动开发 时间:
2017-05-13 23:13:57
阅读次数:
1300
1 // Temp is the root view that was found in the xml 2 final View temp = createViewFromTag(root, name, attrs,...
分类:
其他好文 时间:
2015-06-11 12:34:59
阅读次数:
150
在Android开发中为了inflate一个布局文件,大体有2种方式,如下所示:
// 1. get a instance of LayoutInflater, then do whatever you want
LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOU...
分类:
移动开发 时间:
2014-06-17 16:42:35
阅读次数:
360